Re: [PATCH v2 0/4] tools/nolibc: MIPS: entrypoint cleanups and N32/N64 ABIs
From: Sebastian Andrzej Siewior
Date: Wed Mar 26 2025 - 16:54:58 EST
On 2025-02-25 18:02:34 [+0100], Thomas Weißschuh wrote:
> Introduce support for the N32 and N64 ABIs. As preparation, the
> entrypoint is first simplified significantly. Thanks to Maciej for all
> the valuable information.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
Tested-by: Sebastian Andrzej Siewior <sebastian@xxxxxxxxxxxxx> [ICT Loongson-3]
mips32le works as-is.
For mips64le I had to s/-march=mips64r6/-march=mips64r2 to match the
ABI. Which makes me wonder: Why do do we need to pass -march here and
can't rely on toolchain defaults?
Sebastian