diff options
author | Bob Wilson <bob.wilson@acm.org> | 2007-11-08 01:40:58 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2007-11-08 01:40:58 +0000 |
commit | f586c42a66eee512a72ece93c818b17431a16960 (patch) | |
tree | aaabc50199a937074213be3994b99da9439c5cc4 | |
parent | e933bb418ff5d3295174b0ab91dac2004d50fbd6 (diff) | |
download | binutils-redhat-f586c42a66eee512a72ece93c818b17431a16960.tar.gz |
* config/tc-xtensa.c (relaxable_section): Check for .eh_frame.
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-xtensa.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index f96c662e79..1690154eb9 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2007-11-07 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (relaxable_section): Check for .eh_frame. + 2007-11-07 Eric B. Weddington <eweddington@cso.atmel.com> * config/tc-avr.c (mcu_types): Add ATtiny88 device. diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index 0738f2740d..2fd11b1e8f 100644 --- a/gas/config/tc-xtensa.c +++ b/gas/config/tc-xtensa.c @@ -4728,7 +4728,8 @@ xtensa_set_frag_assembly_state (fragS *fragP) static bfd_boolean relaxable_section (asection *sec) { - return (sec->flags & SEC_DEBUGGING) == 0; + return ((sec->flags & SEC_DEBUGGING) == 0 + && strcmp (sec->name, ".eh_frame") != 0); } |