diff options
author | Anthony Green <green@moxielogic.com> | 2014-04-12 19:30:18 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2014-04-12 19:30:18 -0400 |
commit | 8a58e6b7805b736def197b8baf8e465a2a3f6913 (patch) | |
tree | feeb7769ced8f216d586502e84201e5b5e9da484 /src | |
parent | 30b77c56f95c63ecd83399aafdbad7b07330f2fd (diff) | |
parent | a539f7ffd6783aa11353d13265520e453c565fb4 (diff) | |
download | libffi-8a58e6b7805b736def197b8baf8e465a2a3f6913.tar.gz |
Merge pull request #115 from frida/fix/darwin-aarch64-alignment
Fix alignment of AArch64 assembler functions
Diffstat (limited to 'src')
-rw-r--r-- | src/aarch64/sysv.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/aarch64/sysv.S b/src/aarch64/sysv.S index 7273b73..169eab8 100644 --- a/src/aarch64/sysv.S +++ b/src/aarch64/sysv.S @@ -47,6 +47,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifdef __ELF__ .type CNAME(ffi_call_SYSV), #function #endif +#ifdef __APPLE__ + .align 2 +#endif /* ffi_call_SYSV() @@ -241,6 +244,9 @@ CNAME(ffi_call_SYSV): .text .globl CNAME(ffi_closure_SYSV) +#ifdef __APPLE__ + .align 2 +#endif .cfi_startproc CNAME(ffi_closure_SYSV): stp x29, x30, [sp, #-16]! |