aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2021-08-19 17:01:26 +0100
committerMark Rutland <mark.rutland@arm.com>2021-08-19 17:09:01 +0100
commit5cd6238ec4ef97687eeea9e011db0d6305216543 (patch)
tree679570ba3f7417d328ae0f452837f6d1e952220d
parentada217d48ba82906028042a53f12905c1107addf (diff)
downloadboot-wrapper-aarch64-5cd6238ec4ef97687eeea9e011db0d6305216543.tar.gz
aarch32: fix .globl replacement
In commit: fcb8a82b91a39ce2 ("Cleanup `.globl` usage") ... we forgot to include <linkage.h> in asm/stack.S, and consequently broke the build as the assembler has no idea what ASM_FUNC() and ASM_DATA() mean. Add the missing include. Signed-off-by: Mark Rutland <mark.rutland@arm.com>
-rw-r--r--arch/aarch32/stack.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/aarch32/stack.S b/arch/aarch32/stack.S
index ac6885b..a18a760 100644
--- a/arch/aarch32/stack.S
+++ b/arch/aarch32/stack.S
@@ -6,6 +6,8 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE.txt file.
*/
+#include <linkage.h>
+
.text
/*
* Setup initial stack pointer