mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
mips32: fix clobbering s0 in setjmp() [BZ #22624]
Similar to commit 1ab47db00dfbc0128119e3503d3ed640ffc4830b ("mips64: fix clobbering s0 in setjmp() [BZ #22624]") as sysdeps/mips/setjmp_aux.c is almost an identical copy of sysdeps/mips/mips64/setjmp_aux.c. [BZ #22624] * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use inhibit_stack_protector.
This commit is contained in:
committed by
Joseph Myers
parent
368b6c8da9
commit
c85c564d14
@ -23,7 +23,12 @@
|
||||
pointer. We do things this way because it's difficult to reliably
|
||||
access them in C. */
|
||||
|
||||
/* Stack protection is disabled to avoid changing s0 (or any other
|
||||
caller-save register) before storing it to environment.
|
||||
See BZ #22624. */
|
||||
|
||||
int __attribute__ ((nomips16))
|
||||
inhibit_stack_protector
|
||||
__sigsetjmp_aux (jmp_buf env, int savemask, int sp, int fp)
|
||||
{
|
||||
#ifdef __mips_hard_float
|
||||
|
Reference in New Issue
Block a user