[PATCH] aarch64: Remove $(aarch64-bti) check

Yury Khrustalev yury.khrustalev@arm.com
Fri Nov 7 12:51:26 GMT 2025


On Fri, Nov 07, 2025 at 12:29:09PM +0100, Florian Weimer wrote:
> The variable was removed in commit 2c421fc4302ecb729823ca442f9dfab9
> ("AArch64: Cleanup PAC and BTI"), so this Makefile fragment is
> always excluded.
> 
> Tested on aarch64-linux-gnu.
> 
> ---
>  sysdeps/aarch64/Makefile | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/sysdeps/aarch64/Makefile b/sysdeps/aarch64/Makefile
> index 9479fb9679..29348912e3 100644
> --- a/sysdeps/aarch64/Makefile
> +++ b/sysdeps/aarch64/Makefile
> @@ -1,13 +1,5 @@
>  long-double-fcts = yes
>  
> -ifeq (yes,$(aarch64-bti))
> -# Mark linker output BTI compatible, it warns on non-BTI inputs.
> -sysdep-LDFLAGS += -Wl,-z,force-bti
> -# Make warnings fatal outside the test system.
> -LDFLAGS-lib.so += -Wl,--fatal-warnings
> -LDFLAGS-rtld += -Wl,-z,force-bti,--fatal-warnings
> -endif
> -
>  ifeq ($(subdir),elf)
>  sysdep-dl-routines += \
>    dl-bti \
> 
> base-commit: b64335ff111c071fde61aec1c1a8460afb3d16d4
> 

Thanks, LGTM.

Reviewed-by: Yury Khrustalev <yury.khrustalev@arm.com>

Kind regards,
Yury



More information about the Libc-alpha mailing list