[PATCH v3] ARM: signal: fix armv7-m build issue in sigreturn_codes.S

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Tue Nov 19 04:28:19 EST 2013


Hello,

On Mon, Nov 18, 2013 at 10:49:50PM -0800, Victor Kamensky wrote:
> After "ARM: signal: sigreturn_codes should be endian neutral to
> work in BE8" commit, thumb only platforms, like armv7m, fails to
> compile sigreturn_codes.S. The reason is that for such arch
> values '.arm' directive and arm opcodes are not allowed.
> 
> Fix conditionally enables arm opcodes only if no CONFIG_CPU_THUMBONLY
> defined and it uses .org instructions to keep sigreturn_codes
> layout.
> 
> Suggested-by: Dave Martin <Dave.Martin at arm.com>
> Signed-off-by: Victor Kamensky <victor.kamensky at linaro.org>
Tested-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Best regards and thanks
Uwe


-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list