Handle relocation against protected function for -Bsymbolic
[deliverable/binutils-gdb.git] / bfd / elf32-i386.c
index 4ae21664f6a11786f8f245a31348a4467becd4a6..f35e3c22a99f9afe61292a1d11d3a593bb078dc2 100644 (file)
@@ -3503,6 +3503,7 @@ elf_i386_relocate_section (bfd *output_bfd,
                  return FALSE;
                }
              else if (!info->executable
+                      && !SYMBOLIC_BIND (info, h)
                       && h->type == STT_FUNC
                       && ELF_ST_VISIBILITY (h->other) == STV_PROTECTED)
                {
This page took 0.026446 seconds and 4 git commands to generate.