[PATCH] sparc: Fix argument passing to __libc_start_main on SPARC32

Ludwig Rydberg ludwig.rydberg@gaisler.com
Tue Jun 17 09:34:56 GMT 2025


Hi Adhemerval,

> 
> Wouldn't be simple we just adjust the initial stack frame to have minimal one:
> 

Nice, that is indeed much simpler. I ran a few tests (including booting
Linux) and it works fine on my setup. Will you prepare a patch? And
please cherry-pick it to 2.41 when everything is ready.

Thanks!

Best regards,
// Ludwig


More information about the Libc-alpha mailing list