* elf32-i386.c (elf_i386_relocate_section): Make undefined symbols
[deliverable/binutils-gdb.git] / bfd / elf64-x86-64.c
index 39d5abbe6fd3b22a633aa055b6ed05f283a15d32..970d742d0d18c37bc16d6006befb1b09884d6075 100644 (file)
@@ -1861,7 +1861,7 @@ elf64_x86_64_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
              if (! ((*info->callbacks->undefined_symbol)
                     (info, h->root.root.string, input_bfd,
                      input_section, rel->r_offset,
-                     (!info->shared || info->no_undefined
+                     (info->executable || info->no_undefined
                       || ELF_ST_VISIBILITY (h->other)))))
                return FALSE;
              relocation = 0;
This page took 0.02417 seconds and 4 git commands to generate.