浏览代码

* fixed x86-64 NR_RETURN_ADDRESS_REG

git-svn-id: branches/debug_eh@41577 -
Jonas Maebe 6 年之前
父节点
当前提交
7de177e3f3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/x86_64/cpubase.inc

+ 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