diff options
Diffstat (limited to 'bfd/elf32-m32r.c')
-rw-r--r-- | bfd/elf32-m32r.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf32-m32r.c b/bfd/elf32-m32r.c index 171884f88aa..032a17d2dff 100644 --- a/bfd/elf32-m32r.c +++ b/bfd/elf32-m32r.c @@ -3654,6 +3654,9 @@ m32r_elf_gc_sweep_hook (bfd *abfd ATTRIBUTE_UNUSED, bfd_signed_vma *local_got_refcounts; const Elf_Internal_Rela *rel, *relend; + if (info->relocatable) + return TRUE; + elf_section_data (sec)->local_dynrel = NULL; symtab_hdr = &elf_tdata (abfd)->symtab_hdr; |