diff options
author | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-25 20:18:08 +0000 |
---|---|---|
committer | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-25 20:18:08 +0000 |
commit | 439b06b2652c24c74f20bc6fea4e98e9a8ccc7cc (patch) | |
tree | 56a3429f0e6ad9409f8c5552629e5efbfebc7df8 | |
parent | d2fac4d28c22e700c91bcf7580d6a219af6840ff (diff) | |
download | gcc-439b06b2652c24c74f20bc6fea4e98e9a8ccc7cc.tar.gz |
PR target/36756
* config/rs6000/rs6000.c (optimization_options): Don't default to
section anchors without toplevel reorder.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139572 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f38c298043d..7db55b34106 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 79ca119bd5f..83997ff2a0d 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -2128,8 +2128,11 @@ 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 (!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; } |