[PATCH] aarch64: simplify the DT_AARCH64_VARIANT_PCS handling code

Szabolcs Nagy Szabolcs.Nagy@arm.com
Tue Jul 9 12:55:00 GMT 2019


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

I'll commit this tomorrow unless there are comments.
Then backport it with the variant pcs support to release branches
https://sourceware.org/ml/libc-alpha/2019-05/msg00523.html

2019-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* 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.


More information about the Libc-alpha mailing list