diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-15 14:09:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-15 14:09:25 +0000 |
commit | 93e49144b45ca5703059c37bd31f2b2028ebbd93 (patch) | |
tree | 5ca8bc39b4fbc7cac2c5cfc9f3b967c8ec48d788 /libc/sysdeps/linux/bfin/bits | |
parent | 434de4d520123ff576f06b9c5b240bc66983a8e2 (diff) |
fix from Jie Zhang to also declare R0 as clobber in syscall0
Diffstat (limited to 'libc/sysdeps/linux/bfin/bits')
-rw-r--r-- | libc/sysdeps/linux/bfin/bits/syscalls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/bfin/bits/syscalls.h b/libc/sysdeps/linux/bfin/bits/syscalls.h index f4c0e60d1..475d193ce 100644 --- a/libc/sysdeps/linux/bfin/bits/syscalls.h +++ b/libc/sysdeps/linux/bfin/bits/syscalls.h @@ -53,7 +53,7 @@ type name(void) { \ "%0=r0;\n\t" \ : "=da" (__res) \ : "i" (__NR_##name) \ - : "memory","CC","P0"); \ + : "memory","CC","R0","P0"); \ __syscall_return(type,__res); \ } |