ladybird/Userland/Libraries/LibELF
Andreas Kling 79889ef052 LibELF: Consolidate main executable loading a bit
Merge the load_elf() and commit_elf() functions into a single
load_main_executable() function that takes care of both things.

Also split "stage 3" into two separate stages, keeping the lazy
relocations in stage 3, and adding a stage 4 for calling library
initialization functions.

We also make sure to map the main executable before dealing with
any of its dependencies, to ensure that non-PIE executables get
loaded at their desired address.
2021-02-26 14:49:55 +01:00
..
Arch/i386 LibC: Remove text relocation 2021-02-19 09:04:05 +01:00
AuxiliaryVector.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CMakeLists.txt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CoreDump.h Kernel: Set "pledge_violation" coredump metadata in REQUIRE_PROMISE() 2021-01-20 21:01:15 +01:00
DynamicLinker.cpp LibELF: Consolidate main executable loading a bit 2021-02-26 14:49:55 +01:00
DynamicLinker.h LibELF: Use StringView instead of "const char*" in dynamic linker code 2021-02-20 22:29:12 +01:00
DynamicLoader.cpp LibELF: Consolidate main executable loading a bit 2021-02-26 14:49:55 +01:00
DynamicLoader.h LibELF: Consolidate main executable loading a bit 2021-02-26 14:49:55 +01:00
DynamicObject.cpp LibELF: Convert more string literals to StringView literals. 2021-02-24 14:45:34 +01:00
DynamicObject.h LibELF: Use StringView literal syntax to build section names. 2021-02-24 14:38:31 +01:00
exec_elf.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Hashes.h LibELF: Move ELF hash functions to their own file (and make constexpr) 2021-02-23 19:43:44 +01:00
Image.cpp LibELF: Convert more string literals to StringView literals. 2021-02-24 14:45:34 +01:00
Image.h LibELF: Don't build barely-used section lookup table in ELF::Image 2021-02-23 19:45:29 +01:00
Validation.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Validation.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00