From: H.J. Lu Date: Fri, 6 Oct 2017 07:26:17 +0000 (-0700) Subject: x86: Add RESOLVED_LOCALLY_P X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f92404c505db7ca2255dad73647889234013a0a;p=binutils-gdb.git 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 612bf859571..b43cdfac9b0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2017-10-06 H.J. Lu + + * 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. + 2017-10-06 H.J. Lu * elf32-i386.c (X86_PCREL_TYPE_P): New.