Files
RedBear-OS/include
vasilito 991d05ce2f ld_so: implement dl_iterate_phdr (link.h)
Mesa's Intel Anvil Vulkan driver requires dl_iterate_phdr, which relibc lacked
(meson cc.has_function fails). Implement it against the dynamic linker's
authoritative object list: store each object's program headers on the DSO
(new DSO.phdrs, populated in both from_raw and new), add Linker::iter_dsos, and
add a src/header/link module exporting dl_iterate_phdr that walks the loaded
objects and reports each one's base/name/phdr-table to the callback (stopping
early on non-zero return, per spec). Static binaries (no linker) report zero
objects. Hand-written include/link.h declares struct dl_phdr_info with a
correctly-typed const Elf64_Phdr* dlpi_phdr.
2026-07-31 09:55:43 +03:00
..
2019-01-01 07:35:13 -07:00
2019-01-15 20:49:15 -07:00
2018-11-23 21:31:09 +01:00
2018-12-14 12:50:23 -07:00
2024-11-10 16:19:15 +01:00
2026-01-12 12:38:28 -07:00
2018-07-27 18:27:51 +02:00
2025-08-09 01:16:12 -04:00
2023-05-06 17:02:54 +02:00
2024-11-27 01:25:53 -05:00
2025-07-24 21:46:49 -04:00