1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:58:13 +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

@ -11,7 +11,7 @@
#include <Kernel/Memory/PhysicalAddress.h>
#include <Kernel/Memory/VirtualAddress.h>
#include <Kernel/Prekernel/Prekernel.h>
#include <LibC/elf.h>
#include <LibELF/ELFABI.h>
#include <LibELF/Relocation.h>
#if ARCH(X86_64)