[RTEMS Project] #3745: RTL lacks support for `group` (17) type sections

RTEMS trac trac at rtems.org
Mon May 13 00:14:54 UTC 2019


#3745: RTL lacks support for `group` (17) type sections
--------------------------+--------------------
  Reporter:  Chris Johns  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  5.1
 Component:  lib/dl       |    Version:  5
  Severity:  normal       |   Keywords:
Blocked By:               |   Blocking:
--------------------------+--------------------
 RTL lacks support for `group` type sections. A `group` section requires
 special link editor handling. The reference for the linker support is
 https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.sheader.html#section_groups

 This ticket tracks adding `group` support.

 The reason this has come to light is recent test results are reporting
 `dl05.exe` failing. A recent patch to `libdl` has changed the symbol
 loading. This is a two stage process, the first stage parses the symbol
 records to determine the amount of memory to allocate and loading stage
 fills the allocated table. A `group` section symbol is not being allocated
 memory because the `group` section is not loaded however the filling stage
 after allocation does not check for the section being present and adds the
 symbol which overflows the allocated symbol table memory. There is no
 overflow check because both stages are suppose to match.

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


More information about the bugs mailing list