diff options
author | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-11 09:47:47 +0000 |
---|---|---|
committer | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-11 09:47:47 +0000 |
commit | 2fe2678f6f58e55ab8f4b068ee92dc4da834eefd (patch) | |
tree | ac5faac0d3a6d7c86138352d7e7376769dcbab8c | |
parent | dfeeca46b799f6581f0fdcb078e550af795a3ae7 (diff) | |
download | gcc-2fe2678f6f58e55ab8f4b068ee92dc4da834eefd.tar.gz |
PR target/7531:
* doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56198 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 27 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 27 |
2 files changed, 43 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ed9a4452d0..296e960097d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-08-11 Andreas Jaeger <aj@suse.de> + + PR target/7531: + * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel. + 2002-08-10 Ziemowit Laski <zlaski@apple.com> * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace @@ -57,7 +62,7 @@ Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz> (finish_struct): Likewise. * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl. (maybe_objc_comptypes): Rename to objc_comptypes. - (maybe_building_objc_message_expr): Rename to + (maybe_building_objc_message_expr): Rename to objc_message_selector. * c-lex.c (lex_charconst): Remove uses of clk_objective_c, replace with flag_objc as needed. @@ -66,7 +71,7 @@ Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz> * c-parse.in (init_reswords): Likewise. * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl. (maybe_objc_comptypes): Rename to objc_comptypes. - (maybe_building_objc_message_expr): Rename to + (maybe_building_objc_message_expr): Rename to objc_message_selector. * c-typeck.c (comptypes): Call objc_comptypes instead of maybe_objc_comptypes, and/or objc_message_selector instead of @@ -78,7 +83,7 @@ Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz> independently of those for other languages. * objc/objc-act.c (maybe_objc_comptypes): Delete. (maybe_objc_check_decl): Delete. - (maybe_building_objc_message_expr): Rename to + (maybe_building_objc_message_expr): Rename to objc_message_selector. * objc/objc-lang.c (objc_init_options): Use clk_c instead of clk_objective_c; set flag_objc flag. @@ -135,15 +140,15 @@ Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz> 2002-08-08 Devang Patel <dpatel@apple.com> - * objc/objc-act.c (build_selector_translation_table): Issue warning, - when -Wselector is used,if method for which selector is being + * objc/objc-act.c (build_selector_translation_table): Issue warning, + when -Wselector is used,if method for which selector is being created does not exist. - + 2002-08-08 Stephen Clarke <stephen.clarke@superh.com> * config/sh/sh.c (prepare_move_operands): Only call target_reg_operand if TARGET_SHMEDIA. - + 2002-08-08 Jakub Jelinek <jakub@redhat.com> * config/rs6000/rs6000.h, config/rs6000/aix.h, @@ -190,7 +195,7 @@ Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz> * objc/Make-lang.in (objc.mostlyclean): Remove coverage files. * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files. - + 2002-08-08 Neil Booth <neil@daikokuya.co.uk> * c-opts.c (cpp_opts): New. @@ -513,7 +518,7 @@ Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz> OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name mangling. Adjust output format to make it more machine readable. * doc/gcov.texi: Document & clarify semantics. - + 2002-08-04 Joseph S. Myers <jsm@polyomino.org.uk> * doc/include/gcc-common.texi (version-GCC): Increase to 3.3. @@ -540,10 +545,10 @@ Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz> of TARGET_ALIGN_DOUBLE. 2002-08-04 Gabriel Dos Reis <gdr@nerim.net> - + * diagnostic.c (inform): New function. * diagnostic.h (inform): Declare. - + 2002-08-03 David Edelsohn <edelsohn@gnu.org> * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 6383cd20cb8..cef144d613c 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -492,6 +492,7 @@ in the following sections. -mpush-args -maccumulate-outgoing-args -m128bit-long-double @gol -m96bit-long-double -mregparm=@var{num} -momit-leaf-frame-pointer @gol -mno-red-zone@gol +-mcmodel=@var{code-model} @gol -m32 -m64} @emph{HPPA Options} @@ -7720,6 +7721,32 @@ by the x86-64 ABI, it is a 128-byte area beyond the location of the stack pointer that will not be modified by signal or interrupt handlers and therefore can be used for temporary data without adjusting the stack pointer. The flag @option{-mno-red-zone} disables this red zone. + +@item -mcmodel=small +@opindex mcmodel=small +Generate code for the small code model: the program and its symbols must +be linked in the lower 2 GB of the address space. Pointers are 64 bits. +Programs can be statically or dynamically linked. This is the default +code model. + +@item -mcmodel=kernel +@opindex mcmodel=kernel +Generate code for the kernel code model. The kernel runs in the +negative 2 GB of the address space. +This model has to be used for Linux kernel code. + +@item -mcmodel=medium +@opindex mcmodel=medium +Generate code for the medium model: The program is linked in the lower 2 +GB of the address space but symbols can be located anywhere in the +address space. Programs can be statically or dynamically linked, but +building of shared libraries are not supported with the medium model. + +@item -mcmodel=large +@opindex mcmodel=large +Generate code for the large model: This model makes no assumptions +about addresses and sizes of sections. Currently GCC does not implement +this model. @end table @node HPPA Options |