aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2005-04-08 17:36:38 +0000
committerBob Wilson <bob.wilson@acm.org>2005-04-08 17:36:38 +0000
commit18c0e0bb01affeba5ea5354ca897d6bd7120fa2d (patch)
treee814328ef1d214a72865994583002ab9a816742b /gas
parentfe4de830e65ffaea9e794568bb10ca38f9aaa198 (diff)
downloadgdb-18c0e0bb01affeba5ea5354ca897d6bd7120fa2d.zip
gdb-18c0e0bb01affeba5ea5354ca897d6bd7120fa2d.tar.gz
gdb-18c0e0bb01affeba5ea5354ca897d6bd7120fa2d.tar.bz2
* config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
SEC_MERGE sections.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-xtensa.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 46e03e6..91ca2f7 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-08 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
+ SEC_MERGE sections.
+
2005-04-05 Sterling Augustine <sterling@tensilica.com>
Bob Wilson <bob.wilson@acm.org>
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c
index c621a8c..188987d 100644
--- a/gas/config/tc-xtensa.c
+++ b/gas/config/tc-xtensa.c
@@ -10393,9 +10393,9 @@ xtensa_create_xproperty_segments (frag_flags_fn flag_fn,
flagword flags;
flags = bfd_get_section_flags (stdoutput, sec);
- if (flags & SEC_DEBUGGING)
- continue;
- if (!(flags & SEC_ALLOC))
+ if ((flags & SEC_DEBUGGING)
+ || !(flags & SEC_ALLOC)
+ || (flags & SEC_MERGE))
continue;
if (section_has_xproperty (sec, flag_fn))