From 6624cbdeed9da2ef824e3f3f9dc5f4a5799b9f23 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Fri, 8 Apr 2005 17:26:42 +0000 Subject: [PATCH] * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip SEC_MERGE sections. --- gas/ChangeLog | 5 +++++ gas/config/tc-xtensa.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 1b8dda64749..9e8a6c47dbe 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2005-04-08 Bob Wilson + + * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip + SEC_MERGE sections. + 2005-04-06 H.J. Lu * config/tc-i386.c (tc_gen_reloc): Don't turn diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index c621a8c832e..188987df5f9 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)) -- 2.30.2