Skip to content
Commit 1b0a4f58 authored by Szabolcs Nagy's avatar Szabolcs Nagy
Browse files

aarch64: configure test for BTI support



Check BTI support in the compiler and linker.  The check also
requires READELF that understands the BTI GNU property note.
It is expected to succeed with gcc >=gcc-9 configured with
--enable-standard-branch-protection and binutils >=binutils-2.33.

Note: passing -mbranch-protection=bti in CFLAGS when building glibc
may not be enough to get a glibc that supports BTI because crtbegin*
and crtend* provided by the compiler needs to be BTI compatible too.

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent dbfefbdc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment