aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/aarch64/system/boot.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/aarch64/system/boot.S')
-rw-r--r--tests/tcg/aarch64/system/boot.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tcg/aarch64/system/boot.S b/tests/tcg/aarch64/system/boot.S
index b14e94f332..e190b1efa6 100644
--- a/tests/tcg/aarch64/system/boot.S
+++ b/tests/tcg/aarch64/system/boot.S
@@ -197,6 +197,7 @@ __start:
bl main
/* pass return value to sys exit */
+_exit:
mov x1, x0
ldr x0, =0x20026 /* ADP_Stopped_ApplicationExit */
stp x0, x1, [sp, #-16]!