diff options
-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) |