diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-02-01 14:29:53 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-02-12 11:45:12 -0300 |
commit | 312e159626b67fe11f39e83e222cf4348a3962f3 (patch) | |
tree | 2df9a9795a8e5ca9c4107f0b86b5eb4ba4115b78 /resource/.cvsignore | |
parent | 63295e4fda1f6dab4bf7442706fe303bf283036c (diff) | |
download | glibc-312e159626b67fe11f39e83e222cf4348a3962f3.tar glibc-312e159626b67fe11f39e83e222cf4348a3962f3.tar.gz glibc-312e159626b67fe11f39e83e222cf4348a3962f3.tar.bz2 glibc-312e159626b67fe11f39e83e222cf4348a3962f3.zip |
mips: FIx clone3 implementation (BZ 31325)
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.
Reported-by: Khem Raj <raj.khem@gmail.com>
Tested-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit bbd248ac0d75efdef8fe61ea69b1fb25fb95b6e7)
Diffstat (limited to 'resource/.cvsignore')
0 files changed, 0 insertions, 0 deletions