PR target/36756
* config/rs6000/rs6000.c (optimization_options): Don't default to
section anchors without toplevel reorder.
From-SVN: r139572
+2008-08-25 Janis Johnson <janis187@us.ibm.com>
+
+ PR target/36756
+ * config/rs6000/rs6000.c (optimization_options): Don't default to
+ section anchors without toplevel reorder.
+
2008-08-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* config/spu/spu_mfcio.h (mfc_begin_critical_section): New function.
/* Enable section anchors by default.
Skip section anchors for Objective C and Objective C++
- until front-ends fixed. */
- if (!TARGET_MACHO && lang_hooks.name[4] != 'O')
+ until front-ends fixed.
+ Do not enable section anchors without toplevel reorder. */
+ if (!TARGET_MACHO
+ && lang_hooks.name[4] != 'O'
+ && flag_toplevel_reorder != 0)
flag_section_anchors = 2;
}