0f842f8a24
Always define GETRA; use __builtin_extract_return_addr, rather than having a special case for s390. Split GETPC_ADJ out of GETPC; use 2 universally, rather than having a special case for arm. Rename GETPC_LDST to GETRA_LDST to indicate that it does not contain the GETPC_ADJ value. Likewise with GETPC_EXT to GETRA_EXT. Perform the GETPC_ADJ adjustment inside helper_ret_ld/st. This will allow backends to pass along the "true" return address rather than the massaged GETPC value. In the meantime, double application of GETPC_ADJ does not hurt, since the call insn in all ISAs is at least 4 bytes long. Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net> |
||
---|---|---|
.. | ||
user | ||
address-spaces.h | ||
cpu-all.h | ||
cpu-common.h | ||
cpu-defs.h | ||
cputlb.h | ||
def-helper.h | ||
exec-all.h | ||
gdbstub.h | ||
gen-icount.h | ||
hwaddr.h | ||
ioport.h | ||
memory-internal.h | ||
memory.h | ||
poison.h | ||
softmmu_defs.h | ||
softmmu_exec.h | ||
softmmu_header.h | ||
softmmu_template.h | ||
softmmu-semi.h | ||
spinlock.h |