1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/lib/csu/arm/crti.S

22 lines
335 B
ArmAsm
Raw Normal View History

2004-05-14 12:19:04 +00:00
#include <machine/asm.h>
__FBSDID("$FreeBSD$");
2004-09-23 23:00:51 +00:00
.section .init,"ax",%progbits
.align 4
.globl _init
.type _init,%function
_init:
mov ip, sp
stmdb sp!, {fp, ip, lr, pc}
sub fp, ip, #4
.section .fini,"ax",%progbits
.align 4
.globl _fini
.type _fini,%function
_fini:
mov ip, sp
stmdb sp!, {fp, ip, lr, pc}
sub fp, ip, #4