diff options
Diffstat (limited to 'bfd/elf32-cris.c')
-rw-r--r-- | bfd/elf32-cris.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c index 0228920..080f958 100644 --- a/bfd/elf32-cris.c +++ b/bfd/elf32-cris.c @@ -3593,7 +3593,7 @@ elf_cris_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED, s->size += htab->dtpmod_refcount != 0 ? 8 : 0; } - else if (CONST_STRNEQ (name, ".rela")) + else if (startswith (name, ".rela")) { if (strcmp (name, ".rela.got") == 0 && htab->dtpmod_refcount != 0 @@ -3612,7 +3612,7 @@ elf_cris_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED, s->reloc_count = 0; } } - else if (! CONST_STRNEQ (name, ".got") + else if (! startswith (name, ".got") && strcmp (name, ".dynbss") != 0 && s != htab->root.sdynrelro) { |