commit | fe297dde5ae8f8bf67d3a87759289a99b48ecb2c | [log] [tgz] |
---|---|---|
author | John Rigby <john.rigby@linaro.org> | Wed Dec 01 05:57:51 2010 +0000 |
committer | Tony Lindgren <tony@atomide.com> | Fri Dec 17 17:28:07 2010 -0800 |
tree | 5287cf84431594675d712cb1ed1052db84d7e867 | |
parent | 1a6b59232bbaf612265e364c9e06ba1d15bbe7e0 [diff] |
OMAP4: enable smc instruction in new assembler versions New assemblers need -march=armv7-a+sec on command line or .arch_extension sec inline to enable use of the smc instruction. This patch uses as-instr to check the latter to conditionally enable the former in AFLAGS for files that use smc. Checked on both old and new binutils to verify that it does not break old versions. Signed-off-by: John Rigby <john.rigby@linaro.org> Signed-off-by: Tony Lindgren <tony@atomide.com>