loader: use interpreter if possible

fixed end address alignment
fixed loading elfs without sceDynlibData
pass phdr address to interpreter
cleanup
This commit is contained in:
DH 2024-08-31 23:31:45 +03:00
parent 797f70268f
commit f09d3151ff
4 changed files with 202 additions and 260 deletions

View file

@ -103,6 +103,7 @@ struct Module final {
bool isTlsDone = false;
utils::kstring interp;
utils::kvector<Symbol> symbols;
utils::kvector<Relocation> pltRelocations;
utils::kvector<Relocation> nonPltRelocations;