darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -gfull and -gused.

* config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -gfull and -gused.
       * config/rs6000/darwin.h (CC1_SPEC): Do not handle -gfull and -gused.
       * config/i386/darwin.h (CC1_SPEC): Same.

From-SVN: r91651
This commit is contained in:
Devang Patel 2004-12-02 10:42:26 -08:00 committed by Devang Patel
parent 6b1326732b
commit 910fbc166c
4 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2004-12-02 Devang Patel <dpatel@apple.com>
* config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -gfull and -gused.
* config/rs6000/darwin.h (CC1_SPEC): Do not handle -gfull and -gused.
* config/i386/darwin.h (CC1_SPEC): Same.
2004-12-02 Richard Henderson <rth@redhat.com>
* optabs.c (lowpart_subreg_maybe_copy): New.

View File

@ -116,6 +116,8 @@ Boston, MA 02111-1307, USA. */
{ "-dynamic", "-Zdynamic" }, \
{ "-dynamiclib", "-Zdynamiclib" }, \
{ "-exported_symbols_list", "-Zexported_symbols_list" }, \
{ "-gfull", "-g -fno-eliminate-unused-debug-symbols" }, \
{ "-gused", "-g -feliminate-unused-debug-symbols" }, \
{ "-segaddr", "-Zsegaddr" }, \
{ "-segs_read_only_addr", "-Zsegs_read_only_addr" }, \
{ "-segs_read_write_addr", "-Zsegs_read_write_addr" }, \

View File

@ -40,9 +40,7 @@ Boston, MA 02111-1307, USA. */
#undef CC1_SPEC
#define CC1_SPEC "%{!static:-fPIC}\
%{gused: -g -feliminate-unused-debug-symbols %<gused }\
%{gfull: -g -fno-eliminate-unused-debug-symbols %<gfull }\
%{g: %{!gfull: -feliminate-unused-debug-symbols %<gfull }}"
%{g: %{!fno-eliminate-unused-debug-symbols: -feliminate-unused-debug-symbols }}"
#undef ASM_SPEC
#define ASM_SPEC "-arch i686 -force_cpusubtype_ALL"

View File

@ -126,9 +126,7 @@ do { \
the kernel or some such. */
#define CC1_SPEC "\
%{gused: -g -feliminate-unused-debug-symbols %<gused }\
%{gfull: -g -fno-eliminate-unused-debug-symbols %<gfull }\
%{g: %{!gfull: -feliminate-unused-debug-symbols %<gfull }}\
%{g: %{!fno-eliminate-unused-debug-symbols: -feliminate-unused-debug-symbols }} \
%{static: %{Zdynamic: %e conflicting code gen style switches are used}}\
%{!static:%{!mdynamic-no-pic:-fPIC}}"