Jan Beulich <jbeul...@suse.com> writes:
> Much like AT_HWCAP is already provided in case the platform headers
> don't have the value (yet).
>
> libgcc/
>
>       * config/aarch64/cpuinfo.c: Provide AT_HWCAP2.

OK for trunk and GCC 14.

Thanks,
Richard

> ---
> Observed as build failure with 14.1.0, so may want backporting there.
>
> --- a/libgcc/config/aarch64/cpuinfo.c
> +++ b/libgcc/config/aarch64/cpuinfo.c
> @@ -146,6 +146,9 @@ struct {
>  #define HWCAP_PACG (1UL << 31)
>  #endif
>  
> +#ifndef AT_HWCAP2
> +#define AT_HWCAP2 26
> +#endif
>  #ifndef HWCAP2_DCPODP
>  #define HWCAP2_DCPODP (1 << 0)
>  #endif

Reply via email to