This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [patch] glibc 2.3: Memory clobber missing from syscalls
- From: Atsushi Nemoto <anemo at mba dot ocn dot ne dot jp>
- To: macro at mips dot com
- Cc: linux-mips at linux-mips dot org, libc-alpha at sources dot redhat dot com,dom at mips dot com, nigel at mips dot com, macro at linux-mips dot org
- Date: Mon, 18 Oct 2004 10:37:37 +0900 (JST)
- Subject: Re: [patch] glibc 2.3: Memory clobber missing from syscalls
- References: <Pine.LNX.4.61.0410151318550.8084@perivale.mips.com>
>>>>> On Fri, 15 Oct 2004 13:47:59 +0100 (BST), "Maciej W. Rozycki" <macro@mips.com> said:
macro> It seems nobody at the libc-alpha list is intersted in this
macro> fix, so I'm sending it here, so that people do not struggle
macro> against weird failures, while a fix is already done. The fix
macro> is needed for the current version of glibc.
Then, kernel header (include/asm-mips/unistd.h) should be fixed too?
It includes some asm statements like this:
__asm__ volatile ( \
".set\tnoreorder\n\t" \
"li\t$2, %2\t\t\t# " #name "\n\t" \
"syscall\n\t" \
"move\t%0, $2\n\t" \
".set\treorder" \
: "=&r" (__v0), "=r" (__a3) \
: "i" (__NR_##name) \
: "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24"); \
---
Atsushi Nemoto