Re: [PATCH] tools/nolibc: MIPS: fix clobbers of 'lo' and 'hi' registers on different ISAs
From: Willy Tarreau
Date: Sun Mar 08 2026 - 04:51:54 EST
On Wed, Feb 18, 2026 at 12:45:48PM +0100, Thomas Weißschuh wrote:
> Earlier MIPS64 ISAs still provide the 'lo' and 'hi' special registers.
> These are clobbered by system calls and need to be marked as such to
> avoid miscompilations.
> Also 32-bit ISAs from r6 on do not define the 'lo' and 'hi' registers.
>
> Handle all different combinations of ABI and ISAs.
>
> Fixes: a6a2a8a42972 ("tools/nolibc: MIPS: add support for N64 and N32 ABIs")
> Fixes: 66b6f755ad45 ("rcutorture: Import a copy of nolibc")
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
I trust that you've contemplated way more doc than me on that topic, so
obviously:
Acked-by: Willy Tarreau <w@xxxxxx>
Thanks,
Willy