summaryrefslogtreecommitdiff
path: root/lib/semihosting/aarch64/semihosting_call.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/semihosting/aarch64/semihosting_call.S')
-rw-r--r--lib/semihosting/aarch64/semihosting_call.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/semihosting/aarch64/semihosting_call.S b/lib/semihosting/aarch64/semihosting_call.S
index 9ece6249..e6a96752 100644
--- a/lib/semihosting/aarch64/semihosting_call.S
+++ b/lib/semihosting/aarch64/semihosting_call.S
@@ -28,10 +28,10 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
- .globl semihosting_call
+#include <asm_macros.S>
- .section .text, "ax"
+ .globl semihosting_call
-semihosting_call: ; .type semihosting_call, %function
+func semihosting_call
hlt #0xf000
ret