[PATCH] libebl: Handle aarch64 bti, pac bits in gnu property note

Mark Wielaard mark@klomp.org
Mon Sep 7 10:54:18 GMT 2020


On Thu, 2020-09-03 at 17:28 +0200, Mark Wielaard wrote:
> On Thu, 2020-09-03 at 11:56 +0200, Mark Wielaard wrote:
> > 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.
> 
> Oops. Forgot to add the new testfile to EXTRA_DIST.
> 
> diff --git a/tests/ChangeLog b/tests/ChangeLog
> index cb2e9956..61c6cb7c 100644
> --- a/tests/ChangeLog
> +++ b/tests/ChangeLog
> @@ -2,6 +2,8 @@
>  
>  	* testfile-gnu-property-note-aarch64.bz2: New file.
>  	* run-readelf-n.sh: Handle testfile-gnu-property-note-aarch64.
> +	* Makefile.am (EXTRA_DIST): Add
> +	testfile-gnu-property-note-aarch64.bz2.

Pushed with this addition.


More information about the Elfutils-devel mailing list