* config/tc-xtensa.c (relaxable_section): Check for .eh_frame.
authorBob Wilson <bob.wilson@acm.org>
Thu, 8 Nov 2007 01:40:58 +0000 (01:40 +0000)
committerBob Wilson <bob.wilson@acm.org>
Thu, 8 Nov 2007 01:40:58 +0000 (01:40 +0000)
gas/ChangeLog
gas/config/tc-xtensa.c

index f96c662e79066de0ba1bdcb2c0c6d0e01170ad09..1690154eb9a9f76ee9a194cc6b78bd90e35724b2 100644 (file)
@@ -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.
index 0738f2740d6f7c296acfeb35985d670810d46008..2fd11b1e8fb15d83799c0ee01ddaeb0909067688 100644 (file)
@@ -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);
 }