diff options
Diffstat (limited to 'bfd/elf32-vax.c')
-rw-r--r-- | bfd/elf32-vax.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c index 69dbdcd..77f8b41 100644 --- a/bfd/elf32-vax.c +++ b/bfd/elf32-vax.c @@ -867,6 +867,9 @@ elf_vax_gc_sweep_hook (bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *rel, *relend; bfd *dynobj; + if (info->relocatable) + return TRUE; + dynobj = elf_hash_table (info)->dynobj; if (dynobj == NULL) return TRUE; |