2008-01-11 Tristan Gingold <gingold@adacore.com>
[deliverable/binutils-gdb.git] / bfd / elf32-sh.c
index 24ac5bbfdb4e685e5b379fb3c8b64b8ca09a8ae1..827ba64801a065b03da66e64954779ba20af0370 100644 (file)
@@ -4564,6 +4564,9 @@ sh_elf_gc_sweep_hook (bfd *abfd, struct bfd_link_info *info,
   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;
This page took 0.029826 seconds and 4 git commands to generate.