diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-06 00:26:17 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-06 00:26:17 -0700 |
commit | 1f92404c505db7ca2255dad73647889234013a0a (patch) | |
tree | 49d260efc65d31dc9adbd6e2cce7bb5d17518098 /bfd | |
parent | 2eba97c207399d8b541092a7b0a4428dc02f5cf1 (diff) | |
download | gdb-1f92404c505db7ca2255dad73647889234013a0a.zip gdb-1f92404c505db7ca2255dad73647889234013a0a.tar.gz gdb-1f92404c505db7ca2255dad73647889234013a0a.tar.bz2 |
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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 612bf85..b43cdfa 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ 2017-10-06 H.J. Lu <hongjiu.lu@intel.com> + * 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 <hongjiu.lu@intel.com> + * elf32-i386.c (X86_PCREL_TYPE_P): New. (elf_i386_check_relocs): Use NEED_DYNAMIC_RELOCATION_P. * elf64-x86-64.c (IS_X86_64_PCREL_TYPE): Renamed to ... |