[PATCH] aarch64: Do not link conform tests with -Wl, -z, force-bti (bug 33601)

Wilco Dijkstra Wilco.Dijkstra@arm.com
Thu Nov 6 16:11:32 GMT 2025


Hi Florian,

> If the toolchain does not default to generate BTI markers in GCC,
> the main program for conform runtime tests will not have the
> BTI marker that -Wl,-z,force-bti requires.  Without -Wl,-z,force-bti,
> the link editor will not tell the dynamic linker to enable BTI,
> and the missing BTI marker is harmless.

+ifneq ($(subdir),confirm)

Eh, did you mean conform here?

OK with that change.

Reviewed-by: Wilco Dijkstra  <Wilco.Dijkstra@arm.com>

Cheers,
Wilco


More information about the Libc-alpha mailing list