diff options
author | Jiong Wang <jiong.wang@arm.com> | 2015-08-18 16:50:56 +0100 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2015-08-18 16:50:56 +0100 |
commit | 44b4145b723b43b175d4378c77bd79faaaa80312 (patch) | |
tree | b46e07e4dd25336fb9ce308b8bc8154325af50f8 /bfd/ChangeLog | |
parent | 566f5e3b385a99c09b5babc9f90dae93e052d52c (diff) | |
download | binutils-44b4145b723b43b175d4378c77bd79faaaa80312.zip binutils-44b4145b723b43b175d4378c77bd79faaaa80312.tar.gz binutils-44b4145b723b43b175d4378c77bd79faaaa80312.tar.bz2 |
[AArch64] Cleanup TLS relocation types which don't go through GOT table
This patch done two types of cleanup:
* in aarch64_reloc_got_type and elfNN_aarch64_relocate_section
We don't need those redundant "case" check, as they can be merged
with the "default" which just "break".
* in elfNN_aarch64_gc_sweep_hook and elfNN_aarch64_check_relocs
All TLS local executable relocations and some local dynamic
relocations (those calculate module offset) actually don't need GOT
entry, so remove them from GOT entry counting.
2015-08-18 Jiong Wang <jiong.wang@arm.com>
bfd/
* elfnn-aarch64.c (aarch64_reloc_got_type): Delete useless check.
(elfNN_aarch64_relocate_section): Likewise.
(elfNN_aarch64_gc_sweep_hook): Likewise.
(elfNN_aarch64_check_relocs): Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a182d2f..14290ab 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2015-08-18 Jiong Wang <jiong.wang@arm.com> + + * elfnn-aarch64.c (aarch64_reloc_got_type): Delete useless check. + (elfNN_aarch64_relocate_section): Likewise. + (elfNN_aarch64_gc_sweep_hook): Likewise. + (elfNN_aarch64_check_relocs): Likewise. + 2015-08-18 H.J. Lu <hongjiu.lu@intel.com> * bfd/aoutx.h: Replace shared, executable, relocatable and pie |