mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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:
@@ -131,9 +131,15 @@ SYM(_start):
|
|||||||
mv a0, s1
|
mv a0, s1
|
||||||
call bsp_start_on_secondary_processor
|
call bsp_start_on_secondary_processor
|
||||||
|
|
||||||
|
.section .bsp_start_data, "aw"
|
||||||
|
|
||||||
|
.type .Lsecondary_processor_go, @object
|
||||||
|
|
||||||
#if __riscv_xlen == 32
|
#if __riscv_xlen == 32
|
||||||
|
.size .Lsecondary_processor_go, 4
|
||||||
.align 2
|
.align 2
|
||||||
#elif __riscv_xlen == 64
|
#elif __riscv_xlen == 64
|
||||||
|
.size .Lsecondary_processor_go, 8
|
||||||
.align 3
|
.align 3
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user