From 910fbc166c123f616d3ec527c2646c80dac0377a Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 2 Dec 2004 10:42:26 -0800 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/darwin.h | 2 ++ gcc/config/i386/darwin.h | 4 +--- gcc/config/rs6000/darwin.h | 4 +--- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 96ef779b2e6..9d550ababfb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-12-02 Devang Patel + + * 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 * optabs.c (lowpart_subreg_maybe_copy): New. diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 5c9dc2e4cd3..6afa6be5686 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -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" }, \ diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h index d36b511819e..ec816259bde 100644 --- a/gcc/config/i386/darwin.h +++ b/gcc/config/i386/darwin.h @@ -40,9 +40,7 @@ Boston, MA 02111-1307, USA. */ #undef CC1_SPEC #define CC1_SPEC "%{!static:-fPIC}\ - %{gused: -g -feliminate-unused-debug-symbols %