summaryrefslogtreecommitdiff
path: root/libcpu/aarch64/cortex-a
diff options
context:
space:
mode:
authorShell <[email protected]>2023-10-20 13:27:38 +0800
committerGitHub <[email protected]>2023-10-20 13:27:38 +0800
commit07b23ecbb1b1845bb166bc35368493a26ab8be82 (patch)
tree8dc7fc908383810dcb21cdbbe035b61f079b52a1 /libcpu/aarch64/cortex-a
parent552b5406b5a6f041a63710c60b3da9fa82e3ef69 (diff)
[libcpu] fix symbol of kernel entry point (#8159)
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'libcpu/aarch64/cortex-a')
-rw-r--r--libcpu/aarch64/cortex-a/entry_point.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcpu/aarch64/cortex-a/entry_point.S b/libcpu/aarch64/cortex-a/entry_point.S
index 3c79fdebbc..53c2920355 100644
--- a/libcpu/aarch64/cortex-a/entry_point.S
+++ b/libcpu/aarch64/cortex-a/entry_point.S
@@ -38,8 +38,8 @@ boot_arg1 .req x23
boot_arg2 .req x24
stack_top .req x25
-.global __start
-__start:
+.global _start
+_start:
/*
* Boot CPU general-purpose register settings:
* x0 = physical address of device tree blob (dtb) in system RAM.
@@ -165,8 +165,8 @@ __start:
dsb sy
#ifdef RT_USING_SMART
- ldr x2, =__start
- GET_PHY x3, __start
+ ldr x2, =_start
+ GET_PHY x3, _start
sub x3, x3, x2
#else
mov x3,0