Merge pull request #115 from frida/fix/darwin-aarch64-alignment
Fix alignment of AArch64 assembler functions
This commit is contained in:
@@ -47,6 +47,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|||||||
#ifdef __ELF__
|
#ifdef __ELF__
|
||||||
.type CNAME(ffi_call_SYSV), #function
|
.type CNAME(ffi_call_SYSV), #function
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __APPLE__
|
||||||
|
.align 2
|
||||||
|
#endif
|
||||||
|
|
||||||
/* ffi_call_SYSV()
|
/* ffi_call_SYSV()
|
||||||
|
|
||||||
@@ -241,6 +244,9 @@ CNAME(ffi_call_SYSV):
|
|||||||
|
|
||||||
.text
|
.text
|
||||||
.globl CNAME(ffi_closure_SYSV)
|
.globl CNAME(ffi_closure_SYSV)
|
||||||
|
#ifdef __APPLE__
|
||||||
|
.align 2
|
||||||
|
#endif
|
||||||
.cfi_startproc
|
.cfi_startproc
|
||||||
CNAME(ffi_closure_SYSV):
|
CNAME(ffi_closure_SYSV):
|
||||||
stp x29, x30, [sp, #-16]!
|
stp x29, x30, [sp, #-16]!
|
||||||
|
|||||||
Reference in New Issue
Block a user