]> git.sur5r.net Git - u-boot/commit
arm: Fix setjmp (again)
authorAlexander Graf <agraf@suse.de>
Tue, 5 Jul 2016 18:37:17 +0000 (20:37 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 8 Jul 2016 21:16:38 +0000 (17:16 -0400)
commit0de02de76833cf3adcc0ba2e43cff52e6e18b63f
treebbb0ca1a2eeaf54e6323ec17de4b69acd2e29c51
parent59d07ee08e858bf2c121d0cdc6c8ddd3b26ee5b1
arm: Fix setjmp (again)

Commit e677724 (arm: Fix setjmp) added code to fix compilation of the setjmp
code path with thumv1. Unfortunately it missed a constraint that the adr
instruction can only refer to 4 byte aligned offsets.

So this patch adds the required alignment hooks to make compilation
work again even when setjmp doesn't happen to be 4 byte aligned.

Signed-off-by: Alexander Graf <agraf@suse.de>
Tested-by: Tom Rini <trini@konsulko.com>
arch/arm/include/asm/setjmp.h