2
0
Эх сурвалжийг харах

* fixed x86-64 NR_RETURN_ADDRESS_REG

git-svn-id: branches/debug_eh@41577 -
Jonas Maebe 6 жил өмнө
parent
commit
7de177e3f3

+ 1 - 1
compiler/x86_64/cpubase.inc

@@ -93,7 +93,7 @@ const
       RS_FRAME_POINTER_REG = RS_RBP;
       RS_FRAME_POINTER_REG = RS_RBP;
       NR_FRAME_POINTER_REG = NR_RBP;
       NR_FRAME_POINTER_REG = NR_RBP;
       { Return address for DWARF }
       { 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,
       { Register for addressing absolute data in a position independant way,
         such as in PIC code. The exact meaning is ABI specific. For
         such as in PIC code. The exact meaning is ABI specific. For
         further information look at GCC source : PIC_OFFSET_TABLE_REGNUM
         further information look at GCC source : PIC_OFFSET_TABLE_REGNUM