aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/wcsncpy.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-01 14:29:53 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-12 11:45:12 -0300
commit312e159626b67fe11f39e83e222cf4348a3962f3 (patch)
tree2df9a9795a8e5ca9c4107f0b86b5eb4ba4115b78 /wcsmbs/wcsncpy.c
parent63295e4fda1f6dab4bf7442706fe303bf283036c (diff)
downloadglibc-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 'wcsmbs/wcsncpy.c')
0 files changed, 0 insertions, 0 deletions