bsps/riscv: Use start data for object

Maybe this helps to ensure that the object is properly aligned.

Update #4658.
This commit is contained in:
Sebastian Huber
2022-11-04 13:47:45 +01:00
parent 18b1a59184
commit b4ffaa7cdc

View File

@@ -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