2008-01-11 Tristan Gingold <gingold@adacore.com>
[deliverable/binutils-gdb.git] / bfd / elf64-ppc.c
index bbb75e83e24c5725aa4031b3316c58cb7a8d16c5..e8d4cf9e94503b7186caabc71bbc01b41c08177b 100644 (file)
@@ -5265,6 +5265,9 @@ ppc64_elf_gc_sweep_hook (bfd *abfd, struct bfd_link_info *info,
   struct got_entry **local_got_ents;
   const Elf_Internal_Rela *rel, *relend;
 
+  if (info->relocatable)
+    return TRUE;
+
   if ((sec->flags & SEC_ALLOC) == 0)
     return TRUE;
 
This page took 0.02869 seconds and 4 git commands to generate.