瀏覽代碼

* setjmp must not have a stack frame else the offsets are wrong

florian 21 年之前
父節點
當前提交
1cb384eae9
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6 3
      rtl/x86_64/setjump.inc

+ 6 - 3
rtl/x86_64/setjump.inc

@@ -15,7 +15,7 @@
 
  **********************************************************************}
 
-function setjmp(var S : jmp_buf) : longint;assembler;[Public, alias : 'FPC_SETJMP'];
+function setjmp(var S : jmp_buf) : longint;assembler;[Public, alias : 'FPC_SETJMP'];nostackframe;
   asm
     // Save registers.
     movq %rbx,(%rdi)
@@ -55,7 +55,10 @@ procedure longjmp(var S : jmp_buf;value : longint);assembler;[Public, alias : 'F
 
 {
   $Log$
-  Revision 1.3  2004-04-26 19:23:19  florian
+  Revision 1.4  2004-11-01 16:00:28  florian
+    * setjmp must not have a stack frame else the offsets are wrong
+
+  Revision 1.3  2004/04/26 19:23:19  florian
     * saving of rbp in setjmp fixe
 
   Revision 1.2  2004/04/24 20:13:34  florian
@@ -63,4 +66,4 @@ procedure longjmp(var S : jmp_buf;value : longint);assembler;[Public, alias : 'F
 
   Revision 1.1  2003/04/30 22:11:06  florian
     + for a lot of x86-64 dependend files mostly dummies added
-}
+}