mirror of git://gcc.gnu.org/git/gcc.git
rs6000.c (rs6000_option_optimization): Don't disable section anchors for lang_hooks.name[4] != 'O'.
* config/rs6000/rs6000.c (rs6000_option_optimization): Don't disable section anchors for lang_hooks.name[4] != 'O'. From-SVN: r165506
This commit is contained in:
parent
25b0dd68f0
commit
b534dca561
|
@ -1,3 +1,8 @@
|
||||||
|
2010-10-15 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* config/rs6000/rs6000.c (rs6000_option_optimization): Don't
|
||||||
|
disable section anchors for lang_hooks.name[4] != 'O'.
|
||||||
|
|
||||||
2010-10-15 Joseph Myers <joseph@codesourcery.com>
|
2010-10-15 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* config/frv/frv.c (frv_option_optimization,
|
* config/frv/frv.c (frv_option_optimization,
|
||||||
|
|
|
@ -3690,10 +3690,8 @@ rs6000_option_optimization (int level ATTRIBUTE_UNUSED,
|
||||||
avoid calling them when that's the only reason we would. */
|
avoid calling them when that's the only reason we would. */
|
||||||
flag_errno_math = 0;
|
flag_errno_math = 0;
|
||||||
|
|
||||||
/* Enable section anchors by default.
|
/* Enable section anchors by default. */
|
||||||
Skip section anchors for Objective C and Objective C++
|
if (!TARGET_MACHO)
|
||||||
until front-ends fixed. */
|
|
||||||
if (!TARGET_MACHO && lang_hooks.name[4] != 'O')
|
|
||||||
flag_section_anchors = 2;
|
flag_section_anchors = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue