]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libebl: Handle aarch64 bti, pac bits in gnu property note
authorMark Wielaard <mark@klomp.org>
Thu, 3 Sep 2020 13:42:32 +0000 (09:42 -0400)
committerMark Wielaard <mark@klomp.org>
Mon, 7 Sep 2020 09:23:54 +0000 (11:23 +0200)
commit18d64cd8e7ce0761568631bb40136ca7a154b6e0
treeef5e71c8f41f426f0a628b491bd01e2137c255ac
parentf1a0e680aa0f4e9fcdf10afcea075a833a5a9e4a
libebl: Handle aarch64 bti, pac bits in gnu property note

When building with gcc -mbranch-protection= we might get a gnu property
note indicating BTI (Branch Target Identification) and/or PAC (Pointer
Authentication Code) is being used.

Add a small testcase to show eu-readelf -n now properly lists those
bits in the gnu property note.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libebl/ChangeLog
libebl/eblobjnote.c
tests/ChangeLog
tests/Makefile.am
tests/run-readelf-n.sh
tests/testfile-gnu-property-note-aarch64.bz2 [new file with mode: 0755]