coordinate info->symbolic and info->allow_shlib_undefined
[deliverable/binutils-gdb.git] / bfd / elf64-alpha.c
index 79cebc15bef4c71903edda2e55885a5db70a1d5c..00d8184bef35232decde3e7d577d9d20a9d4e52a 100644 (file)
@@ -3346,7 +3346,8 @@ elf64_alpha_relocate_section (output_bfd, info, input_bfd, input_section,
            }
          else if (h->root.root.type == bfd_link_hash_undefweak)
            relocation = 0;
-         else if (info->shared && !info->symbolic
+         else if (info->shared
+                  && (!info->symbolic || info->allow_shlib_undefined)
                   && !info->no_undefined
                   && ELF_ST_VISIBILITY (h->root.other) == STV_DEFAULT)
            relocation = 0;
This page took 0.02563 seconds and 4 git commands to generate.