Re: [PATCH] tools/nolibc: Add support for SPARC

2025-03-17 Thread Willy Tarreau
On Mon, Mar 17, 2025 at 06:57:01PM -0700, Chris Torek wrote: > On Mon, Mar 17, 2025 at 11:38 AM Willy Tarreau wrote: > > OK thanks, but that remains quite strange to me. How can we end up > > here with such an unaligned stack ? At the very minimum I'd expect > > all offsets to be multiple of 8. >

Re: [PATCH] tools/nolibc: Add support for SPARC

2025-03-17 Thread Chris Torek
On Mon, Mar 17, 2025 at 11:38 AM Willy Tarreau wrote: > OK thanks, but that remains quite strange to me. How can we end up > here with such an unaligned stack ? At the very minimum I'd expect > all offsets to be multiple of 8. It's a peculiar feature of the version 9 SPARC architecture and runtim

Re: [PATCH] tools/nolibc: Add support for SPARC

2025-03-17 Thread Willy Tarreau
On Mon, Mar 17, 2025 at 06:52:57PM +0100, Thomas Weißschuh wrote: > On 2025-03-17 08:37:46+0100, Willy Tarreau wrote: > > On Sun, Mar 16, 2025 at 02:55:02PM +0100, Thomas Weißschuh wrote: > > > Add support for 32bit and 64bit SPARC to nolibc. > > > > Oh nice! > > > > > Signed-off-by: Thomas Weißs

Re: [PATCH] tools/nolibc: Add support for SPARC

2025-03-17 Thread Thomas Weißschuh
On 2025-03-17 08:37:46+0100, Willy Tarreau wrote: > On Sun, Mar 16, 2025 at 02:55:02PM +0100, Thomas Weißschuh wrote: > > Add support for 32bit and 64bit SPARC to nolibc. > > Oh nice! > > > Signed-off-by: Thomas Weißschuh > > --- > > This is only tested on QEMU. > > Any tests on real hardware wo

Re: [PATCH] tools/nolibc: Add support for SPARC

2025-03-17 Thread Willy Tarreau
On Sun, Mar 16, 2025 at 02:55:02PM +0100, Thomas Weißschuh wrote: > Add support for 32bit and 64bit SPARC to nolibc. Oh nice! > Signed-off-by: Thomas Weißschuh > --- > This is only tested on QEMU. > Any tests on real hardware would be very welcome. I still have a working U60 here, but under sol

[PATCH] tools/nolibc: Add support for SPARC

2025-03-16 Thread Thomas Weißschuh
Add support for 32bit and 64bit SPARC to nolibc. Signed-off-by: Thomas Weißschuh --- This is only tested on QEMU. Any tests on real hardware would be very welcome. --- tools/include/nolibc/arch-sparc.h | 191 tools/include/nolibc/arch.h |