]> git.ipfire.org Git - thirdparty/glibc.git/commit
aarch64: simplify the DT_AARCH64_VARIANT_PCS handling code
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 9 Jul 2019 11:11:39 +0000 (12:11 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 10 Jul 2019 14:28:00 +0000 (15:28 +0100)
commit30ba0375464f34e4bf8129f3d3dc14d0c09add17
tree6fdc691c353d6efc12fa44b9cc653645e563c973
parent32b8188ac84ea0c0280a34f65c1fd7faf731c289
aarch64: simplify the DT_AARCH64_VARIANT_PCS handling code

Remove unnecessary variant_pcs field: the dynamic tag can be checked
directly.

* sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
DT_AARCH64_VARIANT_PCS check.
(elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
* sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
variant_pcs.
ChangeLog
sysdeps/aarch64/dl-machine.h
sysdeps/aarch64/linkmap.h