diff options
author | ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-04-29 18:24:04 +0000 |
---|---|---|
committer | ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-04-29 18:24:04 +0000 |
commit | c90769edd65ffa81a78daabac7b53522eca6efa4 (patch) | |
tree | 21c1bb537c80f11fd637b9ffa20a4beae7d684b0 | |
parent | issue 372 - fix Mac OS X minidump generation code to handle x86-64 properly. ... (diff) | |
download | breakpad-c90769edd65ffa81a78daabac7b53522eca6efa4.tar.xz |
Fix assembly in the ARM sys_clone implementation to indicate that r7 is clobbered, and also remove some extraneous semicolons from ARM portions of linux_syscall_support. r=jimb at https://bugzilla.mozilla.org/show_bug.cgi?id=555674
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@579 4c0a9323-5329-0410-9bdc-e9ce6186880e
-rw-r--r-- | src/common/linux/linux_syscall_support.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/common/linux/linux_syscall_support.h b/src/common/linux/linux_syscall_support.h index 173d225b..0b6e3183 100644 --- a/src/common/linux/linux_syscall_support.h +++ b/src/common/linux/linux_syscall_support.h @@ -1639,7 +1639,7 @@ struct kernel_statfs { : "i"(-EINVAL), "r"(fn), "r"(__stack), "r"(__flags), "r"(arg), "r"(__ptid), "r"(__tls), "r"(__ctid) - : "lr", "memory"); + : "cc", "lr", "memory"); } LSS_RETURN(int, __res); } @@ -1768,7 +1768,7 @@ struct kernel_statfs { "r"(fn), "r"(__stack), "r"(__flags), "r"(arg), "r"(__ptid), "r"(__tls), "r"(__ctid), "i"(__NR_clone), "i"(__NR_exit) - : "lr", "memory"); + : "cc", "r7", "lr", "memory"); } LSS_RETURN(int, __res); } @@ -2728,16 +2728,16 @@ struct kernel_statfs { #endif #if defined(__ARM_EABI__) LSS_INLINE _syscall3(ssize_t, recvmsg, int, s, struct kernel_msghdr*, msg, - int, flags); + int, flags) LSS_INLINE _syscall3(ssize_t, sendmsg, int, s, const struct kernel_msghdr*, - msg, int, flags); + msg, int, flags) LSS_INLINE _syscall6(ssize_t, sendto, int, s, const void*, buf, size_t, len, int, falgs, const struct kernel_sockaddr*, to, - unsigned int, tolen); - LSS_INLINE _syscall2(int, shutdown, int, s, int, how); - LSS_INLINE _syscall3(int, socket, int, domain, int, type, int, protocol); + unsigned int, tolen) + LSS_INLINE _syscall2(int, shutdown, int, s, int, how) + LSS_INLINE _syscall3(int, socket, int, domain, int, type, int, protocol) LSS_INLINE _syscall4(int, socketpair, int, d, int, type, int, protocol, - int*, sv); + int*, sv) #endif #if defined(__i386__) || defined(__ARM_ARCH_3__) || \ (defined(__mips__) && _MIPS_SIM == _MIPS_SIM_ABI32) |