22 lines
335 B
ArmAsm
22 lines
335 B
ArmAsm
#include <machine/asm.h>
|
|
__FBSDID("$FreeBSD$");
|
|
|
|
.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
|
|
|