diff options
author | Mike Stump <mrs@apple.com> | 2006-07-08 00:16:38 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2006-07-08 00:16:38 +0000 |
commit | 72d41343d2cc8c37d09455031a8fb8f4ee80a8f7 (patch) | |
tree | 4cb455fd6765801d3076d6610384e9671b91d951 /gcc | |
parent | c81d6e2af27a27976f891fb90e1db6dab5af4092 (diff) | |
download | gcc-72d41343d2cc8c37d09455031a8fb8f4ee80a8f7.zip gcc-72d41343d2cc8c37d09455031a8fb8f4ee80a8f7.tar.gz gcc-72d41343d2cc8c37d09455031a8fb8f4ee80a8f7.tar.bz2 |
toplev.c (process_options): Don't give -ffunction-sections may affect debugging warning for Mach-O.
* toplev.c (process_options): Don't give -ffunction-sections may
affect debugging warning for Mach-O.
From-SVN: r115276
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/toplev.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b846bdc..dbf0ace 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-07-07 Mike Stump <mrs@apple.com> + + * toplev.c (process_options): Don't give -ffunction-sections may + affect debugging warning for Mach-O. + 2006-07-07 James E Wilson <wilson@specifix.com> * config/mips/mips.md (cpu): Add sb1a. diff --git a/gcc/toplev.c b/gcc/toplev.c index a9705a7..f6ff302 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1783,9 +1783,11 @@ process_options (void) } #ifndef OBJECT_FORMAT_ELF +#ifndef OBJECT_FORMAT_MACHO if (flag_function_sections && write_symbols != NO_DEBUG) warning (0, "-ffunction-sections may affect debugging on some targets"); #endif +#endif /* The presence of IEEE signaling NaNs, implies all math can trap. */ if (flag_signaling_nans) |