[PATCH v6 3/6] elf: Introduce _dl_map_segment_align hook for segment alignment tuning
Wilco Dijkstra
Wilco.Dijkstra@arm.com
Mon Mar 9 14:49:10 GMT 2026
Hi Rui,
> Introduce a new helper function, _dl_map_segment_align, to allow
> architecture-specific adjustment of ELF load segment alignment during
> object mapping.
>
> The generic ELF loader now calls this hook when determining the maximum
> segment alignment. The generic implementation is a no-op and preserves
> existing behavior.
Looks good to me.
Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Cheers,
Wilco
More information about the Libc-alpha
mailing list