[PATCH 3/3] elf: Enable TLS descriptor tests on aarch64
Szabolcs Nagy
szabolcs.nagy@arm.com
Mon Mar 11 12:31:05 GMT 2024
The 02/29/2024 16:46, Adhemerval Zanella wrote:
> The aarch64 uses a different name than x86 and arm (trad instead
> os gnu2). Use it to check whether to enable the TLS descriptor
> tests.
aarch64 uses 'trad' for traditional tls and 'desc' for tls
descriptors, but unlike other targets it defaults to 'desc'.
>
> Also rename the internal machinery fron gnu2 to tls descriptors.
>
> Checked on aarch64-linux-gnu.
...
> --- a/sysdeps/aarch64/preconfigure
> +++ b/sysdeps/aarch64/preconfigure
> @@ -2,5 +2,6 @@ case "$machine" in
> aarch64*)
> base_machine=aarch64
> machine=aarch64
> + mtls_descriptor=trad
> ;;
> esac
i think this is confusing.
on aarch64 mtls_descriptor should be 'desc', but we might
want to run some tests with 'trad' too for coverage (however
likely different tests than what other targets try to run with
tlsdesc).
More information about the Libc-alpha
mailing list