[RTEMS Project] #2979: Load rap files failure with zeroed sections

RTEMS trac trac at rtems.org
Wed Apr 5 08:34:26 UTC 2017


#2979: Load rap files failure with zeroed sections
--------------------------+--------------------
 Reporter:  Serg Kruglov  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  normal        |  Milestone:  4.12
Component:  General       |    Version:  4.12
 Severity:  normal        |   Keywords:
--------------------------+--------------------
 After patch "libdl: Add C++ exception support to loaded modules." (ticket
 2767  Chris Johns <chrisj at rtems.org>  2016-12-13 22:07:16 (UTC))
 in function rtems_rtl_obj_add_section sections with size == 0 not added to
 sections list for relocate. In function rtems_rtl_rap_relocate for this
 sectiions generate error "no target section found".
 The introduction of the condition "size > 0" in rtems_rtl_obj_add_section
 was a mistake.
 I use rap files and plain C (.ctor and .dtor have size == 0).

--
Ticket URL: <http://devel.rtems.org/ticket/2979>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list