aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-csky.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-csky.c')
-rw-r--r--bfd/elf32-csky.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-csky.c b/bfd/elf32-csky.c
index 0b776e5..4e6db39 100644
--- a/bfd/elf32-csky.c
+++ b/bfd/elf32-csky.c
@@ -2045,7 +2045,7 @@ csky_elf_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED,
if (htab->elf.hplt != NULL)
strip_section = FALSE;
}
- else if (CONST_STRNEQ (bfd_section_name (s), ".rel") )
+ else if (startswith (bfd_section_name (s), ".rel") )
{
if (s->size != 0 )
relocs = TRUE;