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
commitbcd0585831600b74696557d0f355474bb8bb1487 (patch)
treeb01b74b6c85c4d553f78329d10b562953f7dc408
parentb2f97341c5a056874eecb2fcfd98fcd2e25100c0 (diff)
downloadglibc-bcd0585831600b74696557d0f355474bb8bb1487.tar
glibc-bcd0585831600b74696557d0f355474bb8bb1487.tar.gz
glibc-bcd0585831600b74696557d0f355474bb8bb1487.tar.bz2
glibc-bcd0585831600b74696557d0f355474bb8bb1487.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;