S/390: Fix ifunc missing runtime reloc
[deliverable/binutils-gdb.git] / bfd / elf32-s390.c
index ddb6f5b255e7a2ba3e11249c54878c90dbbb676e..8a09a319abc094456ebd46835d4cefa760805c21 100644 (file)
@@ -2774,7 +2774,7 @@ elf_s390_relocate_section (bfd *output_bfd,
              && s390_is_ifunc_symbol_p (h)
              && h->def_regular)
            {
-             if (!bfd_link_pic (info) || !h->non_got_ref)
+             if (!bfd_link_pic (info))
                {
                  /* For a non-shared object STT_GNU_IFUNC symbol must
                     go through PLT.  */
This page took 0.023139 seconds and 4 git commands to generate.