From 11ac2671101d0cd443a67ab4064e5af55bf410e0 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Thu, 8 Nov 2007 01:40:58 +0000 Subject: [PATCH] * config/tc-xtensa.c (relaxable_section): Check for .eh_frame. --- gas/ChangeLog | 4 ++++ gas/config/tc-xtensa.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index f96c662e790..1690154eb9a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2007-11-07 Bob Wilson + + * config/tc-xtensa.c (relaxable_section): Check for .eh_frame. + 2007-11-07 Eric B. Weddington * config/tc-avr.c (mcu_types): Add ATtiny88 device. diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index 0738f2740d6..2fd11b1e8fb 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); } -- 2.30.2