mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
m68k: fix clobbering a5 in setjmp() [BZ #24202]
setjmp() uses C code to store current registers into jmp_buf environment. -fstack-protector-all places canary into setjmp() prologue and clobbers 'a5' before it gets saved. The change inhibits stack canary injection to avoid clobber.
This commit is contained in:
parent
756608dbe8
commit
6eb7e1da0e
@ -19,6 +19,7 @@
|
||||
|
||||
/* Save the current program position in ENV and return 0. */
|
||||
int
|
||||
inhibit_stack_protector
|
||||
#if defined BSD_SETJMP
|
||||
# undef setjmp
|
||||
# define savemask 1
|
||||
|
Loading…
Reference in New Issue
Block a user