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
This commit is contained in:
Mike Stump 2006-07-08 00:16:38 +00:00 committed by Mike Stump
parent c81d6e2af2
commit 72d41343d2
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -1783,8 +1783,10 @@ 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. */