Restore stack pointer when returning from ffi_closure_UNIX.
authorHans Boehm <hboehm@gcc.gnu.org>
Thu, 26 Apr 2001 00:46:38 +0000 (00:46 +0000)
committerHans Boehm <hboehm@gcc.gnu.org>
Thu, 26 Apr 2001 00:46:38 +0000 (00:46 +0000)
From-SVN: r41565

libffi/src/ia64/unix.S

index 284dadd92e6b734ab189751c6b5b79283ea7a44c..c0ca516be7f21102a759c45daf0592a6b675c4c9 100644 (file)
@@ -295,6 +295,7 @@ ffi_closure_UNIX:
        ;;
        mov     b0=loc1
        mov     ar.pfs=loc0
+       add     sp=BASIC_ARGS_SZ,sp
        br.ret.sptk.many b0
        .endp ffi_closure_UNIX