From c90769edd65ffa81a78daabac7b53522eca6efa4 Mon Sep 17 00:00:00 2001 From: "ted.mielczarek" Date: Thu, 29 Apr 2010 18:24:04 +0000 Subject: 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 --- src/common/linux/linux_syscall_support.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/common') 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) -- cgit v1.2.1