Re: [PATCH v2 0/4] tools/nolibc: MIPS: entrypoint cleanups and N32/N64 ABIs
From: Thomas Weißschuh
Date: Wed Mar 26 2025 - 17:52:15 EST
On 2025-03-26 21:54:34+0100, Sebastian Andrzej Siewior wrote:
> 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]
Thanks!
> 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?
The goal here is to have an as-wide-as-possible test matrix for
nolibc-test, which will mostly be running on QEMU anyways.
Also we need to run the correct QEMU user variant; by fixing the
architecture this is easy to do.
Thomas