This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] glibc 2.3: Memory clobber missing from syscalls


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]