From 7de177e3f348868d205df4abe940cb03e8b35d4e Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sun, 3 Mar 2019 17:14:59 +0000 Subject: [PATCH] * fixed x86-64 NR_RETURN_ADDRESS_REG git-svn-id: branches/debug_eh@41577 - --- compiler/x86_64/cpubase.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/x86_64/cpubase.inc b/compiler/x86_64/cpubase.inc index 816fba50be..6c2ed2c37d 100644 --- a/compiler/x86_64/cpubase.inc +++ b/compiler/x86_64/cpubase.inc @@ -93,7 +93,7 @@ const RS_FRAME_POINTER_REG = RS_RBP; NR_FRAME_POINTER_REG = NR_RBP; { Return address for DWARF } - NR_RETURN_ADDRESS_REG = NR_EIP; + NR_RETURN_ADDRESS_REG = NR_RIP; { Register for addressing absolute data in a position independant way, such as in PIC code. The exact meaning is ABI specific. For further information look at GCC source : PIC_OFFSET_TABLE_REGNUM