Skip to content

Commit

Permalink
(__brk): Use __SYSCALL_CLOBBERS.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Jaeger committed Jan 4, 2006
1 parent b2f9734 commit bcd0585
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sysdeps/unix/sysv/linux/mips/brk.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit bcd0585

Please sign in to comment.