S/390: Fix ifunc missing runtime reloc
[deliverable/binutils-gdb.git] / bfd / elf-s390-common.c
index 157036532a8df5e65b3f39fcb6da18f08ad62578..8795fb9a0485521ba6106debb3fca542af76b2d1 100644 (file)
@@ -161,9 +161,7 @@ keep:
       h->type = STT_FUNC;
     }
 
-  /* We need dynamic relocation for STT_GNU_IFUNC symbol only when
-     there is a non-GOT reference in a shared object.  */
-  if (!bfd_link_pic (info) || !h->non_got_ref)
+  if (!bfd_link_pic (info))
     *head = NULL;
 
   /* Finally, allocate space.  */
This page took 0.025058 seconds and 4 git commands to generate.