2008-01-11 Tristan Gingold <gingold@adacore.com>
[deliverable/binutils-gdb.git] / bfd / elf32-xtensa.c
index d9f2aa25c9ce94384522793603f47a7faa1219bb..43ef7d802d05c13c8c54976e1bc41917fe95f900 100644 (file)
@@ -1012,6 +1012,9 @@ elf_xtensa_gc_sweep_hook (bfd *abfd,
   bfd_signed_vma *local_got_refcounts;
   const Elf_Internal_Rela *rel, *relend;
 
+  if (info->relocatable)
+    return TRUE;
+
   if ((sec->flags & SEC_ALLOC) == 0)
     return TRUE;
 
This page took 0.026293 seconds and 4 git commands to generate.