diff options
author | Nico Weber <thakis@chromium.org> | 2021-08-27 15:23:43 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-08-28 14:43:07 +0100 |
commit | bbad4758b2ca97d29044b593ebb0447bbdbc2c0a (patch) | |
tree | 32572bba7a56ff5917d463c5425211c6377cd6b1 /Userland/Libraries/LibC/arch/aarch64 | |
parent | a43ad0e70691f6a39df04312493f0cd32cb6b6f3 (diff) | |
download | serenity-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/LibC/arch/aarch64')
-rw-r--r-- | Userland/Libraries/LibC/arch/aarch64/crti.S | 21 | ||||
-rw-r--r-- | Userland/Libraries/LibC/arch/aarch64/crtn.S | 13 | ||||
-rw-r--r-- | Userland/Libraries/LibC/arch/aarch64/setjmp.S | 15 |
3 files changed, 49 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/arch/aarch64/crti.S b/Userland/Libraries/LibC/arch/aarch64/crti.S new file mode 100644 index 0000000000..660ba90bf6 --- /dev/null +++ b/Userland/Libraries/LibC/arch/aarch64/crti.S @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2021, Nico Weber <thakis@chromium.org> + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +.section .init, "ax", @progbits +.p2align 2 +.global _init +.type _init, @function +_init: + # FIXME: Possibly incomplete. + ret + +.section .fini, "ax", @progbits +.p2align 4 +.global _fini +.type _fini, @function +_fini: + # FIXME: Possibly incomplete. + ret diff --git a/Userland/Libraries/LibC/arch/aarch64/crtn.S b/Userland/Libraries/LibC/arch/aarch64/crtn.S new file mode 100644 index 0000000000..aea4d4d133 --- /dev/null +++ b/Userland/Libraries/LibC/arch/aarch64/crtn.S @@ -0,0 +1,13 @@ +/* + * Copyright (c) 2021, Nico Weber <thakis@chromium.org> + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +.section .init, "ax", @progbits + # FIXME: Possibly incomplete. + ret + +.section .fini, "ax", @progbits + # FIXME: Possibly incomplete. + ret diff --git a/Userland/Libraries/LibC/arch/aarch64/setjmp.S b/Userland/Libraries/LibC/arch/aarch64/setjmp.S new file mode 100644 index 0000000000..6ae11c4151 --- /dev/null +++ b/Userland/Libraries/LibC/arch/aarch64/setjmp.S @@ -0,0 +1,15 @@ +/* + * Copyright (c) 2021, Nico Weber <thakis@chromium.org> + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +.global setjmp +setjmp: + # FIXME: Possibly incomplete. + ret + +.global longjmp +longjmp: + # FIXME: Possibly incomplete. + ret |