about summary refs log tree commit diff
path: root/elf/unload8mod1x.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2020-05-06 20:22:16 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-07-08 15:02:37 +0100
commit1b0a4f58f5b10cf6d5ad10ee8d81772c5bd29248 (patch)
tree1b4e0dcc25815f45d90cc1c2b9def4d42ab9aecc /elf/unload8mod1x.c
parentdbfefbdc3aeec88868cb9d46267f91dc62461226 (diff)
downloadglibc-1b0a4f58f5b10cf6d5ad10ee8d81772c5bd29248.tar.gz
glibc-1b0a4f58f5b10cf6d5ad10ee8d81772c5bd29248.tar.xz
glibc-1b0a4f58f5b10cf6d5ad10ee8d81772c5bd29248.zip
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: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'elf/unload8mod1x.c')
0 files changed, 0 insertions, 0 deletions