summaryrefslogtreecommitdiffstats
path: root/libelf/gelf_getrela.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2014-01-05 20:37:30 +0100
committerMark Wielaard <[email protected]>2014-01-05 20:49:24 +0100
commit27aae18ce872409b70afef8503941c7e75c8d93d (patch)
tree8fa89611a6f71bc51e9f4c74ceda01d4feab6a5f /libelf/gelf_getrela.c
parent70c3a53baa06b6cdee6e92bd673c1cf977066bc1 (diff)
libdwfl: Only skip reset of return register for non-CIE-return regno (ppc64).elfutils-0.158
For PPC64 we skip resetting the return register if it is already set. This is because on PPC64 there are two DWARF registers numbers that can represent the same register. Setting the return address again confuses the unwinder. But we do want to reset it if the register number (non-translated by the ppc64 ebl) is equal to the actual register number as set in the CIE as return address. This happens on older toolchains in .debug_frame where the return address is set to 108, but the ebl abi_cfi also sets register number 65. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libelf/gelf_getrela.c')
0 files changed, 0 insertions, 0 deletions