linux-mips
[Top] [All Lists]

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

To: macro@mips.com
Subject: Re: [patch] glibc 2.3: Memory clobber missing from syscalls
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Mon, 18 Oct 2004 10:37:37 +0900 (JST)
Cc: linux-mips@linux-mips.org, libc-alpha@sources.redhat.com, dom@mips.com, nigel@mips.com, macro@linux-mips.org
In-reply-to: <Pine.LNX.4.61.0410151318550.8084@perivale.mips.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.LNX.4.61.0410151318550.8084@perivale.mips.com>
Sender: linux-mips-bounce@linux-mips.org
>>>>> 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

<Prev in Thread] Current Thread [Next in Thread>