Browse Source

fix from Jie Zhang to also declare R0 as clobber in syscall0

Mike Frysinger 18 years ago
parent
commit
93e49144b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/sysdeps/linux/bfin/bits/syscalls.h

+ 1 - 1
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);					\
 }