OSDN Git Service

checkasm/arm: preserve the stack alignment checkasm_checked_call
authorJanne Grunau <janne-libav@jannau.net>
Tue, 12 Jul 2016 20:46:43 +0000 (22:46 +0200)
committerJanne Grunau <janne-libav@jannau.net>
Wed, 13 Jul 2016 20:18:53 +0000 (22:18 +0200)
commit7b1ae0e73ab7f7c5eabc70dbe2e579127c6e154f
treed50cbb5711b734b24ebdf2c8de32e8d5ff40a8b5
parent80fbb7becae530167373fe5178966b7d7604306e
checkasm/arm: preserve the stack alignment checkasm_checked_call

The stack used by checkasm_checked_call_vfp was a multiple of 4 when the
checked function is called. AAPCS requires a double word (8 byte)
aligned stack public interfaces. Since both calls are public interfaces
the stack is misaligned when the checked is called.

Might fix the SIGBUS error in the armv7-linux-clang-3.7 fate config.
tests/checkasm/arm/checkasm.S