summaryrefslogtreecommitdiffstats
path: root/bsps/riscv/shared/start/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/riscv/shared/start/start.S')
-rw-r--r--bsps/riscv/shared/start/start.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/bsps/riscv/shared/start/start.S b/bsps/riscv/shared/start/start.S
index 0b9c96c5a2..34e1839ca1 100644
--- a/bsps/riscv/shared/start/start.S
+++ b/bsps/riscv/shared/start/start.S
@@ -131,9 +131,15 @@ SYM(_start):
mv a0, s1
call bsp_start_on_secondary_processor
+ .section .bsp_start_data, "aw"
+
+ .type .Lsecondary_processor_go, @object
+
#if __riscv_xlen == 32
+ .size .Lsecondary_processor_go, 4
.align 2
#elif __riscv_xlen == 64
+ .size .Lsecondary_processor_go, 8
.align 3
#endif