[PATCH] m68k: fix clobbering a5 in setjmp() [BZ #24202]

Siddhesh Poyarekar siddhesh@gotplt.org
Mon Dec 21 04:57:08 GMT 2020


On 2/11/19 4:59 AM, Sergei Trofimovich wrote:
> 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.
> 

I've dropped the Signed-off-by and pushed this since it had approvals 
but wasn't committed, probably due to oversight.

Thanks,
Siddhesh


More information about the Libc-alpha mailing list