diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-06-11 01:45:27 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-06-11 01:45:27 +0000 |
commit | 461e8b2861ceb69ddffb668d68a564661d606e0d (patch) | |
tree | de0c6b34e86a32040518d95e9579bd947f34c4ee /libc/sysdeps/linux/arm/syscall.c | |
parent | 84db602fe3898f49b62e09e496360e1c82f47799 (diff) |
Fix arm syscall implementation so it does not blow chunks with gcc 3.3
-Erik
Diffstat (limited to 'libc/sysdeps/linux/arm/syscall.c')
-rw-r--r-- | libc/sysdeps/linux/arm/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/arm/syscall.c b/libc/sysdeps/linux/arm/syscall.c index 92a535e23..ec2907939 100644 --- a/libc/sysdeps/linux/arm/syscall.c +++ b/libc/sysdeps/linux/arm/syscall.c @@ -39,7 +39,7 @@ long syscall(long sysnum, long a, long b, long c, long d, long e, long f) : "i"(__NR_syscall), "r"(_r0), "r"(_r1), "r"(_r2), "r"(_r3), "r"(_r4), "r"(_r5), "r"(_r6) - : "r0", "memory"); + : "memory"); if(_r0 >=(unsigned long) -4095) { (*__errno_location())=(-_r0); _r0=(unsigned long) -1; |