[MIPS] syscall() segv on mips1

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Oct 21 21:31:58 UTC 2008


On Mon, Sep 29, 2008 at 06:18:50PM -0700, Khem Raj wrote:
>On Mon, Sep 29, 2008 at 7:04 AM, Maxime Bizon <mbizon at freebox.fr> wrote:
>>
>> Hi,
>>
>> uclibc trunk on mips1 platform, a failed syscall() crashes later in
>> __syscall_error() from incorrect t9 value.
>>
>> syscall() has .noreorder, so I guess this explicit 'nop' is needed.
>
>I think the set .noreorder should be complemented by set .reorder
>after the syscall is made. Do we need the instructions in same order
>for whole function ?

I would think that we can turn on reordering again after the syscall,
yes. Can you try that?



More information about the uClibc mailing list