1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:37:35 +00:00

DynamicLoader+LibELF: Move self-relocation code into a separate file

This commit is contained in:
Gunnar Beutner 2021-07-26 15:03:29 +02:00 committed by Andreas Kling
parent 3c616ae00f
commit daeb371180
4 changed files with 85 additions and 45 deletions

View file

@ -0,0 +1,18 @@
/*
* Copyright (c) 2021, Gunnar Beutner <gbeutner@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Concepts.h>
#include <AK/String.h>
#include <AK/Vector.h>
#include <Kernel/VirtualAddress.h>
namespace ELF {
bool perform_relative_relocations(FlatPtr base_address);
}