[RTEMS Project] #3799: confdefs.h declares an array with zero elements, that's invalid C

RTEMS trac trac at rtems.org
Fri Apr 3 13:49:14 UTC 2020


#3799: confdefs.h declares an array with zero elements, that's invalid C
-------------------------+-------------------------------------------------
 Reporter:  Jens         |       Owner:  Sebastian Huber
  Schweikhardt           |  <sebastian.huber@…>
     Type:  defect       |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  rtems        |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  confdefs.h   |  Blocked By:
  array                  |
 Blocking:               |
-------------------------+-------------------------------------------------

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"8e80876bdd54e36fb668eee655eec1dd588daf13/rtems"
 8e80876/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="8e80876bdd54e36fb668eee655eec1dd588daf13"
 score: Fix _ISR_Stack_area_end

 The _ISR_Stack_area_begin and _ISR_Stack_area_end symbols are in
 different sections.  They must have the same alignment, otherwise the
 following linker directive could separate them:

   *(SORT_BY_ALIGNMENT (SORT_BY_NAME (.rtemsstack*)))

 Update #3799.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/3799#comment:8>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list