Re: [libav-devel] [PATCH] checkasm: aarch64: Don't clobber x29 in checkasm_stack_clobber

2016-10-18 Thread Martin Storsjö
On Tue, 18 Oct 2016, Martin Storsjö wrote: x29 (FP) is a callee saved register and should be restored on return. Instead of backing up x29 and restoring it here, back up sp in a register that we are allowed to overwrite. This fixes crashes in checkasm on aarch64 since f1b3e1313851. For some

[libav-devel] [PATCH] checkasm: aarch64: Don't clobber x29 in checkasm_stack_clobber

2016-10-18 Thread Martin Storsjö
x29 (FP) is a callee saved register and should be restored on return. Instead of backing up x29 and restoring it here, back up sp in a register that we are allowed to overwrite. This fixes crashes in checkasm on aarch64 since f1b3e1313851. For some reason, gcc builds didn't crash, but clang