mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
32d7197a6d
Approved by: cognet (mentor)
38 lines
542 B
ArmAsm
38 lines
542 B
ArmAsm
#include <machine/asm.h>
|
|
__FBSDID("$FreeBSD$");
|
|
|
|
.section .init,"ax",%progbits
|
|
.align 4
|
|
.globl _init
|
|
.type _init,%function
|
|
_init:
|
|
#ifdef __ABICALLS__
|
|
.set noreorder
|
|
.cpload $25
|
|
.set reorder
|
|
subu sp, sp, 32
|
|
.cprestore 16
|
|
sw ra, 28(sp)
|
|
|
|
#else
|
|
subu sp, sp, 32
|
|
sw ra, 28(sp)
|
|
#endif
|
|
|
|
.section .fini,"ax",%progbits
|
|
.align 4
|
|
.globl _fini
|
|
.type _fini,%function
|
|
_fini:
|
|
#ifdef __ABICALLS__
|
|
.set noreorder
|
|
.cpload $25
|
|
.set reorder
|
|
subu sp, sp, 32
|
|
.cprestore 16
|
|
sw ra, 28(sp)
|
|
#else
|
|
subu sp, sp, 32
|
|
sw ra, 28(sp)
|
|
#endif
|