mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:17:35 +00:00
LibELF: Implement x86_64 relocation support
There are definitely some relocations missing and this is untested for now.
This commit is contained in:
parent
6990ab41c8
commit
a050b43290
3 changed files with 38 additions and 0 deletions
12
Userland/Libraries/LibELF/Arch/x86_64/plt_trampoline.S
Normal file
12
Userland/Libraries/LibELF/Arch/x86_64/plt_trampoline.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Gunnar Beutner <gbeutner@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
.align 4
|
||||
.globl _plt_trampoline
|
||||
.hidden _plt_trampoline
|
||||
.type _plt_trampoline,@function
|
||||
_plt_trampoline:
|
||||
int3
|
Loading…
Add table
Add a link
Reference in a new issue