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>
|
||||
|
||||
* 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. */
|
||||
flag_errno_math = 0;
|
||||
|
||||
/* 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')
|
||||
/* Enable section anchors by default. */
|
||||
if (!TARGET_MACHO)
|
||||
flag_section_anchors = 2;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue