summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorGunnar Beutner <gunnar@beutner.name>2021-04-16 21:53:43 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-18 10:55:25 +0200
commit6cb28ecee8399b0d79ccfa8b9d58fa04e88846d3 (patch)
treece1c0baa4980140034a1f66b4e6f3310c47e9ec2 /Kernel
parentcf13fa57cde216b489f6ca1d88e38151151e7c6a (diff)
downloadserenity-6cb28ecee8399b0d79ccfa8b9d58fa04e88846d3.zip
LibC+LibELF: Implement support for the dl_iterate_phdr helper
This helper is used by libgcc_s to figure out where the .eh_frame sections are located for all loaded shared objects.
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/CoreDump.cpp2
-rw-r--r--Kernel/CoreDump.h1
-rw-r--r--Kernel/Process.h2
3 files changed, 2 insertions, 3 deletions
diff --git a/Kernel/CoreDump.cpp b/Kernel/CoreDump.cpp
index ade97291e4..c8c21c28e1 100644
--- a/Kernel/CoreDump.cpp
+++ b/Kernel/CoreDump.cpp
@@ -37,8 +37,8 @@
#include <Kernel/RTC.h>
#include <Kernel/SpinLock.h>
#include <Kernel/VM/ProcessPagingScope.h>
+#include <LibC/elf.h>
#include <LibELF/CoreDump.h>
-#include <LibELF/exec_elf.h>
namespace Kernel {
diff --git a/Kernel/CoreDump.h b/Kernel/CoreDump.h
index aeccc93dc6..97bf3e45ba 100644
--- a/Kernel/CoreDump.h
+++ b/Kernel/CoreDump.h
@@ -31,7 +31,6 @@
#include <AK/NonnullRefPtr.h>
#include <AK/OwnPtr.h>
#include <Kernel/Forward.h>
-#include <LibELF/exec_elf.h>
namespace Kernel {
diff --git a/Kernel/Process.h b/Kernel/Process.h
index 925c5872cd..043d145eb3 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -49,8 +49,8 @@
#include <Kernel/VM/AllocationStrategy.h>
#include <Kernel/VM/RangeAllocator.h>
#include <Kernel/VM/Space.h>
+#include <LibC/elf.h>
#include <LibC/signal_numbers.h>
-#include <LibELF/exec_elf.h>
namespace Kernel {