summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-highbank
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2015-03-25 21:57:39 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-26 07:47:36 +0100
commit05de5bac6b1b6693a0cbc38f222919ee1b9f5b45 (patch)
tree014543fc351a9bd6f28ccb89a05c8f93a942703f /arch/arm/mach-highbank
parent115bfd00099f0c16e44d7bd7176a9aa414db960c (diff)
downloadbarebox-05de5bac6b1b6693a0cbc38f222919ee1b9f5b45.tar.gz
barebox-05de5bac6b1b6693a0cbc38f222919ee1b9f5b45.tar.xz
ARM: highbank: fix build with recent binutils
Recent binutils versions assume that the v7 security extensions are not available by default. They need to be enabled explicitly if code wishes to use instructions defined by them. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-highbank')
-rw-r--r--arch/arm/mach-highbank/smc.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-highbank/smc.S b/arch/arm/mach-highbank/smc.S
index b2118b4a84..cc932a3931 100644
--- a/arch/arm/mach-highbank/smc.S
+++ b/arch/arm/mach-highbank/smc.S
@@ -18,6 +18,7 @@
*/
ENTRY(highbank_smc1)
+ .arch_extension sec
stmfd sp!, {r4-r11, lr}
mov r12, r0
mov r0, r1