aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-metag.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-metag.c')
-rw-r--r--bfd/elf32-metag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-metag.c b/bfd/elf32-metag.c
index 6545363..ac6d379 100644
--- a/bfd/elf32-metag.c
+++ b/bfd/elf32-metag.c
@@ -2847,7 +2847,7 @@ elf_metag_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED,
/* Strip this section if we don't need it; see the
comment below. */
}
- else if (CONST_STRNEQ (bfd_section_name (s), ".rela"))
+ else if (startswith (bfd_section_name (s), ".rela"))
{
if (s->size != 0 && s != htab->etab.srelplt)
relocs = TRUE;