]> 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)
commit6f43bf1df53096cd1686519bb7b9d8adcbd042eb
treed47411792c7cbac59a3f312c4c4d24891bb4821e
parent6fcdbce6a2589a5d906fdb3c038b4d91b323ac07
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