summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin/brk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/bfin/brk.c')
-rw-r--r--libc/sysdeps/linux/bfin/brk.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/bfin/brk.c b/libc/sysdeps/linux/bfin/brk.c
index 620c0b683..64480453e 100644
--- a/libc/sysdeps/linux/bfin/brk.c
+++ b/libc/sysdeps/linux/bfin/brk.c
@@ -19,11 +19,9 @@ int brk (void *addr)
__asm__ __volatile__(
"P0 = %2;\n\t"
- "R0 = %1;\n\t"
"excpt 0;\n\t"
- "%0 = R0;\n\t"
- : "=r"(newbrk)
- : "r"(addr), "i" (__NR_brk): "P0" );
+ : "=q0" (newbrk)
+ : "q0" (addr), "i" (__NR_brk): "P0" );
__curbrk = newbrk;