mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 15:47:34 +00:00
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.
This commit is contained in:
parent
a43ad0e706
commit
bbad4758b2
9 changed files with 115 additions and 23 deletions
21
Userland/Libraries/LibC/arch/aarch64/crti.S
Normal file
21
Userland/Libraries/LibC/arch/aarch64/crti.S
Normal file
|
@ -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
|
13
Userland/Libraries/LibC/arch/aarch64/crtn.S
Normal file
13
Userland/Libraries/LibC/arch/aarch64/crtn.S
Normal file
|
@ -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
|
15
Userland/Libraries/LibC/arch/aarch64/setjmp.S
Normal file
15
Userland/Libraries/LibC/arch/aarch64/setjmp.S
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue