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@arm.com Signed-off-by: Victor Kamensky victor.kamensky@linaro.org
Tested-by: Uwe Kleine-König u.kleine-koenig@pengutronix.de
Best regards and thanks Uwe