x86: Add RESOLVED_LOCALLY_P
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 07:26:17 +0000 (00:26 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 07:26:17 +0000 (00:26 -0700)
commit1f92404c505db7ca2255dad73647889234013a0a
tree49d260efc65d31dc9adbd6e2cce7bb5d17518098
parent2eba97c207399d8b541092a7b0a4428dc02f5cf1
x86: Add RESOLVED_LOCALLY_P

Add RESOLVED_LOCALLY_P which returns TRUE if symbol is resolved to
local definition at link-time.

* elfxx-x86.h (RESOLVED_LOCALLY_P): New.
* elf32-i386.c (elf_i386_relocate_section): Use it.
* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
bfd/ChangeLog