[PATCH v6 2/6] elf: Remove redundant _dl_map_segments declaration from dl-load.h

Wilco Dijkstra Wilco.Dijkstra@arm.com
Mon Mar 9 14:33:11 GMT 2026


Hi Rui,

> The function `_dl_map_segments` is defined in `<dl-map-segments.h>`,
> which provides the canonical implementation (optionally overridden
> by sysdeps variants). All call sites include `<dl-map-segments.h>`
> directly, so declaring `_dl_map_segments` in `dl-load.h` is unnecessary.

Looks good to me.

Reviewed-by: Wilco Dijkstra  <Wilco.Dijkstra@arm.com>

Cheers,
Wilco


More information about the Libc-alpha mailing list