aarch64 fix

This commit is contained in:
Anthony Green
2014-02-28 00:17:16 -05:00
parent 447483d51c
commit 49f7729c3c
2 changed files with 9 additions and 4 deletions

View File

@@ -249,13 +249,13 @@ CNAME(ffi_closure_SYSV):
cfi_rel_offset (x30, 8)
mov x29, sp
cfi_def_cfa_register (x29)
sub sp, sp, #ffi_closure_SYSV_FS
cfi_adjust_cfa_offset (ffi_closure_SYSV_FS)
stp x21, x22, [x29, #-16]
cfi_rel_offset (x21, 0)
cfi_rel_offset (x22, 8)
cfi_rel_offset (x21, -16)
cfi_rel_offset (x22, -8)
/* Load x21 with &call_context. */
mov x21, sp
@@ -313,7 +313,7 @@ CNAME(ffi_closure_SYSV):
cfi_restore (x22)
mov sp, x29
cfi_adjust_cfa_offset (-ffi_closure_SYSV_FS)
cfi_def_cfa_register (sp)
ldp x29, x30, [sp], #16
cfi_adjust_cfa_offset (-16)