mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:27:35 +00:00
DynamicLoader+LibELF: Move self-relocation code into a separate file
This commit is contained in:
parent
3c616ae00f
commit
daeb371180
4 changed files with 85 additions and 45 deletions
18
Userland/Libraries/LibELF/Relocation.h
Normal file
18
Userland/Libraries/LibELF/Relocation.h
Normal 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);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue