summaryrefslogtreecommitdiff
path: root/compiler/x86_64/cpubase.inc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/x86_64/cpubase.inc')
-rw-r--r--compiler/x86_64/cpubase.inc2
1 files changed, 1 insertions, 1 deletions
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