Re: [PATCH] libdw: Remove duplicate local wildcards from map file.

2020-09-03 Thread Mark Wielaard
On Thu, Sep 03, 2020 at 07:57:15PM +0300, Dmitry V. Levin wrote: > On Thu, Sep 03, 2020 at 03:00:36PM +0200, Mark Wielaard wrote: > > We only need one local: * entry to capture all private local symbols. > > Yes, the first one (inside ELFUTILS_0.122) is enough. Thanks for the review. Pushed to ma

Re: [PATCH] libdw: Remove duplicate local wildcards from map file.

2020-09-03 Thread Dmitry V. Levin
On Thu, Sep 03, 2020 at 03:00:36PM +0200, Mark Wielaard wrote: > We only need one local: * entry to capture all private local symbols. Yes, the first one (inside ELFUTILS_0.122) is enough. > Signed-off-by: Mark Wielaard > --- > libdw/ChangeLog | 8 > libdw/libdw.map | 10 -- >

[PATCH] libdw,readelf: Recognize DW_CFA_AARCH64_negate_ra_state

2020-09-03 Thread Mark Wielaard
DW_CFA_AARCH64_negate_ra_state is used on aarch64 to indicate whether or not the return address is mangled or not. This has the same value as the DW_CFA_GNU_window_save. So we have to pass around the e_machine value of the process or core we are inspecting to know which one to use. Note that it is

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

2020-09-03 Thread Mark Wielaard
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 proper

[PATCH] libdw: Remove duplicate local wildcards from map file.

2020-09-03 Thread Mark Wielaard
We only need one local: * entry to capture all private local symbols. Signed-off-by: Mark Wielaard --- libdw/ChangeLog | 8 libdw/libdw.map | 10 -- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 796dbfb7..13683ef0 100644

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

2020-09-03 Thread Mark Wielaard
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