Message ID | alpine.LSU.2.20.1607181457070.12287@wotan.suse.de |
---|---|
State | New |
Headers | show |
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index e80fd20..94b4680 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -4520,7 +4520,7 @@ elf_x86_64_relocate_section (bfd *output_bfd, || r_type == R_X86_64_PC32_BND) && is_32bit_relative_branch (contents, rel->r_offset)); - if (SYMBOL_REFERENCES_LOCAL (info, h)) + if (SYMBOL_CALLS_LOCAL (info, h)) { /* Symbol is referenced locally. Make sure it is defined locally or for a branch. */