1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00:00

LibC+LibELF: Move ELF definitions from LibC to LibELF

This is needed to avoid including LibC headers in Lagom builds.
Unfortunately, we cannot rely on the build machine to provide a
fully POSIX-compatible ELF header for Lagom builds, so we have to
use our own.
This commit is contained in:
implicitfield 2023-04-30 19:07:21 +04:00 committed by Andreas Kling
parent 7d19abda7a
commit 79adeb626b
16 changed files with 850 additions and 836 deletions

View file

@ -19,8 +19,8 @@
#include <Kernel/Memory/ScopedAddressSpaceSwitcher.h>
#include <Kernel/Tasks/Coredump.h>
#include <Kernel/Tasks/Process.h>
#include <LibC/elf.h>
#include <LibELF/Core.h>
#include <LibELF/ELFABI.h>
#define INCLUDE_USERSPACE_HEAP_MEMORY_IN_COREDUMPS 0