summaryrefslogtreecommitdiffstats
path: root/lib/aarch32/armclang_printf.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/aarch32/armclang_printf.S')
-rw-r--r--lib/aarch32/armclang_printf.S19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/aarch32/armclang_printf.S b/lib/aarch32/armclang_printf.S
new file mode 100644
index 0000000..2b87bf7
--- /dev/null
+++ b/lib/aarch32/armclang_printf.S
@@ -0,0 +1,19 @@
+/*
+ * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#include <asm_macros.S>
+
+/* Symbols needed by armclang */
+
+ .globl __0printf
+ .globl __1printf
+ .globl __2printf
+
+func __0printf
+__1printf:
+__2printf:
+ b printf
+endfunc __0printf