1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:27:35 +00:00
serenity/Libraries/LibELF
William Marlow 05345fc07d LibELF: Support relocating weak symbols against global libraries
A strong symbol anywhere in an executable must override any
weak symbol used in any library. This means that the weak symbol
must be overridden by a strong symbol even if the strong symbol
is in a dependent library. This means we need to perform relocations
twice, and resolve weak symbols globally before attempting to resolve
them locally. Consequentially we need to defer performing any
initialisations until after we have performed the second round of
relocations.
2021-01-03 17:15:55 +01:00
..
Arch/i386 LibELF: Re-organize ELFDynamicObject::load and add PLT trampoline 2020-01-01 23:54:06 +01:00
AuxiliaryVector.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
CoreDump.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
DynamicLinker.cpp LibELF: Support relocating weak symbols against global libraries 2021-01-03 17:15:55 +01:00
DynamicLinker.h Loader.so+LibELF: Move most of Loader.so's logic into ELF::DynamicLinker 2021-01-03 17:15:55 +01:00
DynamicLoader.cpp LibELF: Support relocating weak symbols against global libraries 2021-01-03 17:15:55 +01:00
DynamicLoader.h LibELF: Support relocating weak symbols against global libraries 2021-01-03 17:15:55 +01:00
DynamicObject.cpp LibELF: Support relocating weak symbols against global libraries 2021-01-03 17:15:55 +01:00
DynamicObject.h Loader.so+LibELF: Move most of Loader.so's logic into ELF::DynamicLinker 2021-01-03 17:15:55 +01:00
exec_elf.h Loader: Add dynamic loader program 2020-12-14 23:05:53 +01:00
Image.cpp Kernel+LibELF: Use hex instead of decimal for stack offsets in back traces (#4728) 2021-01-02 01:38:43 +01:00
Image.h Kernel+LibELF: Abort ELF executable load sooner when something fails 2020-12-25 14:42:42 +01:00
Validation.cpp LibELF: validate_program_headers: Validate p_memsz and p_align 2021-01-01 14:34:25 +01:00
Validation.h LibELF+Kernel: Validate program headers in Image::parse 2020-12-01 09:58:21 +01:00