ladybird/Userland/Libraries/LibC/arch/x86_64/crti.S

24 lines
398 B
ArmAsm
Raw Normal View History

/*
* Copyright (c) 2021, Daniel Bertalan <dani@danielbertalan.dev>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
.section .init, "ax", @progbits
.align 4
.global _init
.type _init, @function
_init:
pushq %rbp
movq %rsp, %rbp
andq $-16, %rsp
.section .fini, "ax", @progbits
.align 4
.global _fini
.type _fini, @function
_fini:
pushq %rbp
movq %rsp, %rbp
andq $-16, %rsp