From: Andreas Jaeger Date: Wed, 4 Jan 2006 06:46:45 +0000 (+0000) Subject: (__brk): Use __SYSCALL_CLOBBERS. X-Git-Tag: upstream/2.30~10627^2~972 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52039e96e0fb04a5e98aa577faa418b20939f3a4;p=external%2Fglibc.git (__brk): Use __SYSCALL_CLOBBERS. --- diff --git a/sysdeps/unix/sysv/linux/mips/brk.c b/sysdeps/unix/sysv/linux/mips/brk.c index 5c31bec..33e51a2 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;