Commit a7701995 by Andreas Jaeger

re PR target/7531 (-mcmodel not documented for x86-64)

	PR target/7531:
	* doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.

From-SVN: r56198
parent b4a93904
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> 2002-08-10 Ziemowit Laski <zlaski@apple.com>
* config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace * 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> ...@@ -57,7 +62,7 @@ Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz>
(finish_struct): Likewise. (finish_struct): Likewise.
* c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl. * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
(maybe_objc_comptypes): Rename to objc_comptypes. (maybe_objc_comptypes): Rename to objc_comptypes.
(maybe_building_objc_message_expr): Rename to (maybe_building_objc_message_expr): Rename to
objc_message_selector. objc_message_selector.
* c-lex.c (lex_charconst): Remove uses of clk_objective_c, * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
replace with flag_objc as needed. replace with flag_objc as needed.
...@@ -66,7 +71,7 @@ Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz> ...@@ -66,7 +71,7 @@ Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz>
* c-parse.in (init_reswords): Likewise. * c-parse.in (init_reswords): Likewise.
* c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl. * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
(maybe_objc_comptypes): Rename to objc_comptypes. (maybe_objc_comptypes): Rename to objc_comptypes.
(maybe_building_objc_message_expr): Rename to (maybe_building_objc_message_expr): Rename to
objc_message_selector. objc_message_selector.
* c-typeck.c (comptypes): Call objc_comptypes instead of * c-typeck.c (comptypes): Call objc_comptypes instead of
maybe_objc_comptypes, and/or objc_message_selector 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> ...@@ -78,7 +83,7 @@ Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz>
independently of those for other languages. independently of those for other languages.
* objc/objc-act.c (maybe_objc_comptypes): Delete. * objc/objc-act.c (maybe_objc_comptypes): Delete.
(maybe_objc_check_decl): Delete. (maybe_objc_check_decl): Delete.
(maybe_building_objc_message_expr): Rename to (maybe_building_objc_message_expr): Rename to
objc_message_selector. objc_message_selector.
* objc/objc-lang.c (objc_init_options): Use clk_c instead of * objc/objc-lang.c (objc_init_options): Use clk_c instead of
clk_objective_c; set flag_objc flag. clk_objective_c; set flag_objc flag.
...@@ -135,15 +140,15 @@ Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz> ...@@ -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> 2002-08-08 Devang Patel <dpatel@apple.com>
* objc/objc-act.c (build_selector_translation_table): Issue warning, * objc/objc-act.c (build_selector_translation_table): Issue warning,
when -Wselector is used,if method for which selector is being when -Wselector is used,if method for which selector is being
created does not exist. created does not exist.
2002-08-08 Stephen Clarke <stephen.clarke@superh.com> 2002-08-08 Stephen Clarke <stephen.clarke@superh.com>
* config/sh/sh.c (prepare_move_operands): Only call * config/sh/sh.c (prepare_move_operands): Only call
target_reg_operand if TARGET_SHMEDIA. target_reg_operand if TARGET_SHMEDIA.
2002-08-08 Jakub Jelinek <jakub@redhat.com> 2002-08-08 Jakub Jelinek <jakub@redhat.com>
* config/rs6000/rs6000.h, config/rs6000/aix.h, * 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> ...@@ -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. * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
* treelang/Make-lang.in (treelang.mostlyclean): Remove coverage * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
files. files.
2002-08-08 Neil Booth <neil@daikokuya.co.uk> 2002-08-08 Neil Booth <neil@daikokuya.co.uk>
* c-opts.c (cpp_opts): New. * c-opts.c (cpp_opts): New.
...@@ -513,7 +518,7 @@ Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz> ...@@ -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 OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
mangling. Adjust output format to make it more machine readable. mangling. Adjust output format to make it more machine readable.
* doc/gcov.texi: Document & clarify semantics. * doc/gcov.texi: Document & clarify semantics.
2002-08-04 Joseph S. Myers <jsm@polyomino.org.uk> 2002-08-04 Joseph S. Myers <jsm@polyomino.org.uk>
* doc/include/gcc-common.texi (version-GCC): Increase to 3.3. * 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> ...@@ -540,10 +545,10 @@ Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz>
of TARGET_ALIGN_DOUBLE. of TARGET_ALIGN_DOUBLE.
2002-08-04 Gabriel Dos Reis <gdr@nerim.net> 2002-08-04 Gabriel Dos Reis <gdr@nerim.net>
* diagnostic.c (inform): New function. * diagnostic.c (inform): New function.
* diagnostic.h (inform): Declare. * diagnostic.h (inform): Declare.
2002-08-03 David Edelsohn <edelsohn@gnu.org> 2002-08-03 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic. * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
......
...@@ -492,6 +492,7 @@ in the following sections. ...@@ -492,6 +492,7 @@ in the following sections.
-mpush-args -maccumulate-outgoing-args -m128bit-long-double @gol -mpush-args -maccumulate-outgoing-args -m128bit-long-double @gol
-m96bit-long-double -mregparm=@var{num} -momit-leaf-frame-pointer @gol -m96bit-long-double -mregparm=@var{num} -momit-leaf-frame-pointer @gol
-mno-red-zone@gol -mno-red-zone@gol
-mcmodel=@var{code-model} @gol
-m32 -m64} -m32 -m64}
@emph{HPPA Options} @emph{HPPA Options}
...@@ -7720,6 +7721,32 @@ by the x86-64 ABI, it is a 128-byte area beyond the location of the ...@@ -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 stack pointer that will not be modified by signal or interrupt handlers
and therefore can be used for temporary data without adjusting the stack and therefore can be used for temporary data without adjusting the stack
pointer. The flag @option{-mno-red-zone} disables this red zone. 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 @end table
@node HPPA Options @node HPPA Options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment