[patch] glibc 2.3: Memory clobber missing from syscalls
Atsushi Nemoto
anemo@mba.ocn.ne.jp
Mon Oct 18 05:17:00 GMT 2004
>>>>> 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
More information about the Libc-alpha
mailing list