[RFC v2 01/22] aarch64: Add HWCAP_GCS

Florian Weimer fw@deneb.enyo.de
Fri Oct 18 10:03:44 GMT 2024


* Yury Khrustalev:

> From: Szabolcs Nagy <szabolcs.nagy@arm.com>
>
> Use upper 32 bits of HWCAP.
> ---
>  sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> index 8dceaa1a52..9c4f4f46d1 100644
> --- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> +++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> @@ -54,6 +54,7 @@
>  #define HWCAP_SB		(1 << 29)
>  #define HWCAP_PACA		(1 << 30)
>  #define HWCAP_PACG		(1UL << 31)
> +#define HWCAP_GCS		(1UL << 32)

Is the out-of-tree ILP32 port still a thing?  I haven't checked if it
alters the prototype for getauxval, but this doesn't look quite
compatible with it.


More information about the Libc-alpha mailing list