1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:37:34 +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

@ -10,7 +10,7 @@
#include <AK/Concepts.h>
#include <AK/Vector.h>
#include <Kernel/Memory/VirtualAddress.h>
#include <LibC/elf.h>
#include <LibELF/ELFABI.h>
#ifndef KERNEL
# include <AK/DeprecatedString.h>