about summary refs log tree commit diff
path: root/elf/tst-initlazyfailmod.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-02 10:28:16 -0300
commitbbd248ac0d75efdef8fe61ea69b1fb25fb95b6e7 (patch)
tree9cb97b4ac0323c4c24c61805af42cb1a277b7ff5 /elf/tst-initlazyfailmod.c
parente7b90e6e605cf236d4bd79e4930cd6a46f9932c7 (diff)
downloadglibc-bbd248ac0d75efdef8fe61ea69b1fb25fb95b6e7.tar.gz
glibc-bbd248ac0d75efdef8fe61ea69b1fb25fb95b6e7.tar.xz
glibc-bbd248ac0d75efdef8fe61ea69b1fb25fb95b6e7.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>
Diffstat (limited to 'elf/tst-initlazyfailmod.c')
0 files changed, 0 insertions, 0 deletions