diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-07-12 13:48:56 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-07-12 13:48:56 -0400 |
commit | db11e96493d1a814266104332fa1f53a51622213 (patch) | |
tree | 6d5541650a64f69289251ec833e85856410af6d8 | |
parent | bbbe87e35cfeef593e23010e35528e722027567f (diff) | |
download | musl-db11e96493d1a814266104332fa1f53a51622213.tar.gz musl-db11e96493d1a814266104332fa1f53a51622213.tar.xz musl-db11e96493d1a814266104332fa1f53a51622213.zip |
fix mips syscalls with long long args
like arm, mips requires 64-bit arguments to be "aligned" on an even register boundary.
-rw-r--r-- | arch/mips/bits/syscall.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/bits/syscall.h b/arch/mips/bits/syscall.h index e24ba5ed..868ce0fe 100644 --- a/arch/mips/bits/syscall.h +++ b/arch/mips/bits/syscall.h @@ -1,7 +1,7 @@ #define __SYSCALL_LL_E(x) \ ((union { long long ll; long l[2]; }){ .ll = x }).l[0], \ ((union { long long ll; long l[2]; }){ .ll = x }).l[1] -#define __SYSCALL_LL_O(x) __SYSCALL_LL_E((x)) +#define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x)) long (__syscall)(long, ...); |