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 | 11ac2671101d0cd443a67ab4064e5af55bf410e0 (patch) | |
tree | 2a6eb2ac88f7a3012123804869ac43916084ca8d /gas/config/tc-xtensa.c | |
parent | 36815e57a6bfc52ac1231d78f52bbf656b3f8886 (diff) | |
download | gdb-11ac2671101d0cd443a67ab4064e5af55bf410e0.zip gdb-11ac2671101d0cd443a67ab4064e5af55bf410e0.tar.gz gdb-11ac2671101d0cd443a67ab4064e5af55bf410e0.tar.bz2 |
* config/tc-xtensa.c (relaxable_section): Check for .eh_frame.
Diffstat (limited to 'gas/config/tc-xtensa.c')
-rw-r--r-- | gas/config/tc-xtensa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index 0738f27..2fd11b1 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); } |