aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2006-01-04 06:46:45 +0000
committerAndreas Jaeger <aj@suse.de>2006-01-04 06:46:45 +0000
commit52039e96e0fb04a5e98aa577faa418b20939f3a4 (patch)
treece2b3b8bb1e09acf19e60862cfaa06a372b0866a
parentd3472928acf79c43d909b9cc24e4533f8e6048c0 (diff)
downloadglibc-52039e96e0fb04a5e98aa577faa418b20939f3a4.tar.xz
glibc-52039e96e0fb04a5e98aa577faa418b20939f3a4.zip
(__brk): Use __SYSCALL_CLOBBERS.
-rw-r--r--sysdeps/unix/sysv/linux/mips/brk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/brk.c b/sysdeps/unix/sysv/linux/mips/brk.c
index 5c31bec5ee..33e51a22b2 100644
--- a/sysdeps/unix/sysv/linux/mips/brk.c
+++ b/sysdeps/unix/sysv/linux/mips/brk.c
@@ -1,5 +1,5 @@
/* brk system call for Linux/MIPS.
- Copyright (C) 2000, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -41,7 +41,7 @@ __brk (void *addr)
"syscall" /* Perform the system call. */
: "=r" (res)
: "I" (SYS_ify (brk)), "r" (addr)
- : "$4", "$7");
++ : "$4", "$7", __SYSCALL_CLOBBERS);
newbrk = (void *) res;
}
__curbrk = newbrk;