config: Avoid zero-length array

Use RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() instead.

Close #3799.
This commit is contained in:
Sebastian Huber
2019-10-28 10:00:31 +01:00
parent 795b167545
commit a7c86ccb25
+4 -2
View File
@@ -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
/**