coordinate info->symbolic and info->allow_shlib_undefined
[deliverable/binutils-gdb.git] / bfd / elf32-sh.c
index e8351564fd756d0f0957a405de4d959ab985394f..f8d29d1f9f16f01c02d9362cfd8636d219e2eafe 100644 (file)
@@ -3114,7 +3114,9 @@ sh_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 && !info->no_undefined)
+         else if (info->shared
+              && (!info->symbolic || info->allow_shlib_undefined)
+              && !info->no_undefined)
            relocation = 0;
          else
            {
This page took 0.026331 seconds and 4 git commands to generate.