75b2bd679b
Submitted by: jmallet
25 lines
544 B
ArmAsm
25 lines
544 B
ArmAsm
#include <machine/asm.h>
|
|
__FBSDID("$FreeBSD$");
|
|
|
|
.section .init,"ax",%progbits
|
|
.align 4
|
|
.set noreorder
|
|
#if defined(__ABICALLS__) && (defined(__mips_n32) || defined(__mips_n64))
|
|
REG_L gp, CALLFRAME_GP(sp)
|
|
#endif
|
|
REG_L ra, CALLFRAME_RA(sp)
|
|
jr ra
|
|
PTR_ADDU sp, sp, CALLFRAME_SIZ
|
|
.set reorder
|
|
|
|
.section .fini,"ax",%progbits
|
|
.align 4
|
|
.set noreorder
|
|
#if defined(__ABICALLS__) && (defined(__mips_n32) || defined(__mips_n64))
|
|
REG_L gp, CALLFRAME_GP(sp)
|
|
#endif
|
|
REG_L ra, CALLFRAME_RA(sp)
|
|
jr ra
|
|
PTR_ADDU sp, sp, CALLFRAME_SIZ
|
|
.set reorder
|