#3745 new defect

RTL lacks support for `group` (17) type sections

Reported by: Chris Johns Owned by:
Priority: normal Milestone: Indefinite
Component: lib/dl Version: 6
Severity: normal Keywords:
Cc: Blocked By: #3746


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.

Change History (2)

comment:1 Changed on May 13, 2019 at 12:17:57 AM by Chris Johns

Blocked By: 3746 added

comment:2 Changed on Dec 12, 2019 at 6:02:03 PM by Chris Johns

Milestone: 5.1Indefinite
Version: 56
Note: See TracTickets for help on using tickets.