x86-64: Limit PIC check to shared library build
[deliverable/binutils-gdb.git] / bfd / elf64-x86-64.c
index 79bc9fbecff502fd3c6182d52bba197bd6e2b00e..3658df456238e6fc973c30a8f860097f1b839838 100644 (file)
@@ -4968,9 +4968,7 @@ do_ifunc_pointer:
              && ((bfd_link_executable (info)
                   && h->root.type == bfd_link_hash_undefweak
                   && !resolved_to_zero)
-                 || (bfd_link_pic (info)
-                     && !(bfd_link_pie (info)
-                          && h->root.type == bfd_link_hash_undefined))))
+                 || bfd_link_dll (info)))
            {
              bfd_boolean fail = FALSE;
              bfd_boolean branch
This page took 0.025795 seconds and 4 git commands to generate.