mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-29 14:23:41 +08:00
config: Avoid zero-length array
Use RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() instead. Close #3799.
This commit is contained in:
@@ -1197,8 +1197,10 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
|
||||
] RTEMS_ALIGNED( CPU_INTERRUPT_STACK_ALIGNMENT )
|
||||
RTEMS_SECTION( ".rtemsstack.interrupt.begin" );
|
||||
|
||||
const char _ISR_Stack_area_end[ 0 ]
|
||||
RTEMS_SECTION( ".rtemsstack.interrupt.end" ) = { };
|
||||
RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION(
|
||||
_ISR_Stack_area_end,
|
||||
".rtemsstack.interrupt.end"
|
||||
);
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user