<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hello!</DIV>
<DIV>After last patches libdl don't load rap files. Not allocated memory for 
sections.</DIV>
<DIV>You forget rtems_rtl_obj_alloc_sections before rtems_rtl_obj_load_sections 
in rtl-rap.c.</DIV>
<DIV>Earlier rtems_rtl_obj_load_sections allocate memory for all needed 
sections. Now this in rtems_rtl_obj_alloc_sections.</DIV>
<DIV>For correct need:</DIV>
<DIV>rtl-rap.c:957</DIV>
<DIV>  if (!rtems_rtl_obj_add_section (obj,</DIV>
<DIV>                                  
section,</DIV>
<DIV>                                  
rap_sections[section].name,</DIV>
<DIV>                                  
rap.secs[section].size,</DIV>
<DIV>                                  
0,</DIV>
<DIV>                                  
rap.secs[section].alignment,</DIV>
<DIV>                                  
0, 0,</DIV>
<DIV>                                  
rap_sections[section].flags))</DIV>
<DIV>    return false;</DIV>
<DIV>}</DIV>
<DIV> </DIV>
<DIV>/** obj->entry = (void*)(uintptr_t) ehdr.e_entry; */</DIV>
<DIV><FONT color=#ff0000>/*</FONT></DIV>
<DIV><FONT color=#ff0000>* Allocate the sections.</FONT></DIV>
<DIV><FONT color=#ff0000>*/</FONT></DIV>
<DIV><FONT color=#ff0000>if (!rtems_rtl_obj_alloc_sections (obj, fd, NULL, 
&rap))</FONT></DIV>
<DIV><FONT color=#ff0000>  return false;</FONT></DIV>
<DIV> </DIV>
<DIV>if (!rtems_rtl_obj_load_sections (obj, fd, rtems_rtl_rap_loader, 
&rap))</DIV>
<DIV>  return false;</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV></DIV></DIV></BODY></HTML>