DynamicLoader: Fix copy relocations

Weak symbols are now actually resolved to the same strong symbol between
shared objects and copy relocations now work!
This commit is contained in:
2025-01-24 19:01:31 +02:00
parent 58cdcf754c
commit c6cd185cb5
2 changed files with 124 additions and 95 deletions

View File

@@ -125,6 +125,9 @@ namespace LibELF
PT_SHLIB = 5,
PT_PHDR = 6,
PT_LOOS = 0x60000000,
PT_GNU_EH_FRAME = 0x6474E550,
PT_GNU_STACK = 0x6474E551,
PT_GNU_RELRO = 0x6474E552,
PT_HIOS = 0x6FFFFFFF,
PT_LOPROC = 0x70000000,
PT_HIPROC = 0x7FFFFFFF,