[PATCH] mips: FIx clone3 implementation (BZ 31325)
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Fri Feb 2 13:28:10 GMT 2024
On 01/02/24 21:06, Khem Raj wrote:
> On Thu, Feb 1, 2024 at 9:41 AM Adhemerval Zanella
> <adhemerval.zanella@linaro.org> wrote:
>>
>> For o32 we need to setup a minimal stack frame to allow cprestore
>> on __thread_start_clone3 (which instruct the linker to save the
>> gp for PIC). Also, there is no guarantee by kABI that $8 will be
>> preserved after syscall execution, so we need to save it on the
>> provided stack.
>>
>> Checked on mipsel-linux-gnu.
>
> works ok on yocto reference mips ( Big-endian ) ( mips-linux-gnu )
>
> Tested-by: Khem Raj <raj.khem@gmail.com>
Thanks, I will install it.
More information about the Libc-alpha
mailing list