mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 05:40:26 +08:00
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:
parent
c81d6e2af2
commit
72d41343d2
@ -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.
|
||||
|
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user