Re: [PATCH] libdw,readelf: Recognize DW_CFA_AARCH64_negate_ra_state

2020-09-07 Thread Mark Wielaard
On Thu, 2020-09-03 at 17:58 +0200, Mark Wielaard wrote: > 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 c

[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