]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
feat: full ld.so relocation processing in kernel ELF loader
authorTulio A M Mendes <[email protected]>
Sun, 15 Feb 2026 01:38:35 +0000 (22:38 -0300)
committerTulio A M Mendes <[email protected]>
Sun, 15 Feb 2026 01:38:35 +0000 (22:38 -0300)
commit59ffae4fe4752776ca91a4fba58edcf1813ebb5e
treec874728fbcafb0e7651de0edb82a917e2fd908a3
parent7cc431ecf3ec74a5f0cb0af57cb0fa65318514b2
feat: full ld.so relocation processing in kernel ELF loader

- Added elf32_process_relocations() to process PT_DYNAMIC segment
- Handles R_386_RELATIVE, R_386_GLOB_DAT, R_386_JMP_SLOT, R_386_32
- Called after segment loading for both main executable and interpreter
- Parses DT_REL, DT_RELSZ, DT_JMPREL, DT_PLTRELSZ, DT_SYMTAB
- 35/35 smoke tests pass, cppcheck clean
src/arch/x86/elf.c