* toplev.c (process_options): Don't give -ffunction-sections may
affect debugging warning for Mach-O.
From-SVN: r115276
+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.
}
#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. */