Pārlūkot izejas kodu

* fixed x86-64 NR_RETURN_ADDRESS_REG

git-svn-id: branches/debug_eh@41577 -
Jonas Maebe 6 gadi atpakaļ
vecāks
revīzija
7de177e3f3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
       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