From: Joseph Myers Date: Fri, 15 Oct 2010 12:40:56 +0000 (+0100) Subject: rs6000.c (rs6000_option_optimization): Don't disable section anchors for lang_hooks... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b534dca5618e74e4d22ab43d9c809e05d36795da;p=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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eb67d491727..3f449f7f61d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-10-15 Joseph Myers + + * config/rs6000/rs6000.c (rs6000_option_optimization): Don't + disable section anchors for lang_hooks.name[4] != 'O'. + 2010-10-15 Joseph Myers * config/frv/frv.c (frv_option_optimization, diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index f008c2dedfb..3afedd20187 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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; }