coordinate info->symbolic and info->allow_shlib_undefined
[deliverable/binutils-gdb.git] / bfd / elf64-sparc.c
index 0742e22790d1d18d669602e8d592939d39a504a4..f5ba083a4ee6f2da30306792ddef60db235339d3 100644 (file)
@@ -2069,7 +2069,8 @@ sparc64_elf_relocate_section (output_bfd, info, input_bfd, input_section,
            }
          else if (h->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->other) == STV_DEFAULT)
            relocation = 0;
This page took 0.02269 seconds and 4 git commands to generate.