summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibELF
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-08-27 15:23:43 -0400
committerLinus Groh <mail@linusgroh.de>2021-08-28 14:43:07 +0100
commitbbad4758b2ca97d29044b593ebb0447bbdbc2c0a (patch)
tree32572bba7a56ff5917d463c5425211c6377cd6b1 /Userland/Libraries/LibELF
parenta43ad0e70691f6a39df04312493f0cd32cb6b6f3 (diff)
downloadserenity-bbad4758b2ca97d29044b593ebb0447bbdbc2c0a.zip
CMake: Let `Meta/serenity.sh run aarch64` make it past cmake
This adds just enough scaffolding to make cmake succeed. The build falls over immediately.
Diffstat (limited to 'Userland/Libraries/LibELF')
-rw-r--r--Userland/Libraries/LibELF/Arch/aarch64/entry.S12
-rw-r--r--Userland/Libraries/LibELF/Arch/aarch64/plt_trampoline.S13
2 files changed, 25 insertions, 0 deletions
diff --git a/Userland/Libraries/LibELF/Arch/aarch64/entry.S b/Userland/Libraries/LibELF/Arch/aarch64/entry.S
new file mode 100644
index 0000000000..2e9620e498
--- /dev/null
+++ b/Userland/Libraries/LibELF/Arch/aarch64/entry.S
@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) 2021, Nico Weber <thakis@chromium.org>
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+.globl _invoke_entry
+.hidden _invoke_entry
+.type _invoke_entry,@function
+_invoke_entry: # (argc, argv, envp, entry)
+ # FIXME: Possibly incomplete.
+ ret
diff --git a/Userland/Libraries/LibELF/Arch/aarch64/plt_trampoline.S b/Userland/Libraries/LibELF/Arch/aarch64/plt_trampoline.S
new file mode 100644
index 0000000000..016266f2c8
--- /dev/null
+++ b/Userland/Libraries/LibELF/Arch/aarch64/plt_trampoline.S
@@ -0,0 +1,13 @@
+/*
+ * Copyright (c) 2021, Nico Weber <thakis@chromium.org>
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+.p2align 4
+.globl _plt_trampoline
+.hidden _plt_trampoline
+.type _plt_trampoline,@function
+_plt_trampoline: # (object, relocation_index)
+ # FIXME: Possibly incomplete.
+ ret