mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
(__brk): Use __SYSCALL_CLOBBERS.
This commit is contained in:
parent
b2f97341c5
commit
bcd0585831
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user