OSDN Git Service

PR target/26427
[pf3gnuchains/gcc-fork.git] / gcc / config / rs6000 / rs6000.c
index 3a8e78a..dd41f62 100644 (file)
@@ -1633,7 +1633,7 @@ optimization_options (int level ATTRIBUTE_UNUSED, int size ATTRIBUTE_UNUSED)
   /* Enable section anchors by default.
      Skip section anchors for Objective C and Objective C++
      until front-ends fixed.  */
-  if (lang_hooks.name[4] != 'O')
+  if (!TARGET_MACHO && lang_hooks.name[4] != 'O')
     flag_section_anchors = 1;
 }