diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-10-04 09:18:55 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-10-28 10:00:31 +0100 |
commit | a7c86ccb25da3254fbe554bc8d47626554bfd3b9 (patch) | |
tree | 797ac00cd89600cc864efc5a0b3f3a2064571141 | |
parent | score: Add RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() (diff) | |
download | rtems-a7c86ccb25da3254fbe554bc8d47626554bfd3b9.tar.bz2 |
config: Avoid zero-length array
Use RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() instead.
Close #3799.
-rw-r--r-- | cpukit/include/rtems/confdefs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h index 5eb5425283..4e6b91ad2c 100644 --- a/cpukit/include/rtems/confdefs.h +++ b/cpukit/include/rtems/confdefs.h @@ -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 /** |