freebsd-skq/lib/csu/mips/crtn.S
imp b6d8a9837e Use ABI neutral macrosa
Submitted by:	jmallet
2010-03-03 21:59:23 +00:00

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