aarch64: remove unnecessary loc_hash_table traversal
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Mon, 10 Jun 2019 15:40:54 +0000 (16:40 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Mon, 17 Jun 2019 16:58:53 +0000 (17:58 +0100)
commit39c05d9435893ed0b51c4b5c8e95fe977b983921
tree923c3b06075cead58e2e6d4078c40dd25c2683f1
parent08bb0061ba5c8826c1ec4d273d539cb32b5c217e
aarch64: remove unnecessary loc_hash_table traversal

The loc_hash_table should only contain local ifunc symbols. The current
code already aborts if there is anything else and for defined ifunc
symbols elfNN_aarch64_allocate_dynrelocs is a no-op.

bfd/ChangeLog:

* elfnn-aarch64.c (elfNN_aarch64_allocate_local_dynrelocs): Remove.
(elfNN_aarch64_size_dynamic_sections): Remove loc_hash_table traversal
with elfNN_aarch64_allocate_local_dynrelocs.
bfd/ChangeLog
bfd/elfnn-aarch64.c