From 93e49144b45ca5703059c37bd31f2b2028ebbd93 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 15 Jun 2006 14:09:25 +0000 Subject: fix from Jie Zhang to also declare R0 as clobber in syscall0 --- libc/sysdeps/linux/bfin/bits/syscalls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc') 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); \ } -- cgit v1.2.3