OSDN Git Service

* toplev.c (process_options): Don't give -ffunction-sections may
[pf3gnuchains/gcc-fork.git] / gcc / toplev.c
index a9705a7..f6ff302 100644 (file)
@@ -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)