1/* 2 * Copyright 2022, Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Copyright 2005, Axel Dörfler, axeld@pinc-software.de. 6 * Distributed under the terms of the MIT License. 7 */ 8 9/** This file contains the final part of the ".init" and ".fini" sections in 10 * the ELF executable. It is tightly connected to crti.S. 11 * Have a look at crti.S to find a description of what happens here. 12 */ 13 14.section .init 15 ldr lr, [sp] 16 add sp, sp, #8 17 bx lr 18 19.section .fini 20 ldr lr, [sp] 21 add sp, sp, #8 22 bx lr 23 24