소스 검색

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

Mike Frysinger 19 년 전
부모
커밋
93e49144b4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);					\
 }