diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/config/i386/darwin.h | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f581fcd9ca4..f4c20226263 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-07-20 Andrew Pinski <apinski@apple.com> + + PR target/16557 + * config/i386/darwin.h (CC1_SPEC): Move the -g SPECs from ... + (ASM_SPEC): here. + 2004-07-21 Paul brook <paul@codesourcery.com> * config/arm/arm.c (thumb_expand_prologue): Remove bogus GEN_INT. diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h index b0e2f016bff..030f866fa79 100644 --- a/gcc/config/i386/darwin.h +++ b/gcc/config/i386/darwin.h @@ -39,13 +39,13 @@ Boston, MA 02111-1307, USA. */ the kernel or some such. */ #undef CC1_SPEC -#define CC1_SPEC "%{!static:-fPIC}" +#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 }}" #define ASM_SPEC "-arch i686 \ -force_cpusubtype_ALL \ - %{gused: -g -feliminate-unused-debug-symbols %<gused }\ - %{gfull: -g -fno-eliminate-unused-debug-symbols %<gfull }\ - %{g: %{!gfull: -feliminate-unused-debug-symbols %<gfull }}\ %{Zforce_cpusubtype_ALL:-force_cpusubtype_ALL} \ %{!Zforce_cpusubtype_ALL:%{mmmx:-force_cpusubtype_ALL}\ %{msse:-force_cpusubtype_ALL}\ |

