[PATCH] aarch64: Remove $(aarch64-bti) check
Florian Weimer
fweimer@redhat.com
Fri Nov 7 11:29:09 GMT 2025
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
More information about the Libc-alpha
mailing list