a098df27dd
2001-08-28 Eric Christopher <echristo@redhat.com> * config/mips/crtn.asm: Add comment explaining 16 byte alignment. config/mips/crti.asm: Ditto. From-SVN: r45244
27 lines
495 B
NASM
27 lines
495 B
NASM
/* 4 slots for argument spill area. 1 for cpreturn, 1 for stack.
|
|
Return spill offset of 40 and 20. Aligned to 16 bytes for n32. */
|
|
|
|
.section .init,"ax",@progbits
|
|
.globl _init
|
|
.type _init,@function
|
|
_init:
|
|
#ifdef __mips64
|
|
dsubu $sp,$sp,48
|
|
sd $31,40($sp)
|
|
#else
|
|
subu $sp,$sp,32
|
|
sw $31,20($sp)
|
|
#endif
|
|
|
|
.section .fini,"ax",@progbits
|
|
.globl _fini
|
|
.type _fini,@function
|
|
_fini:
|
|
#ifdef __mips64
|
|
dsubu $sp,$sp,48
|
|
sd $31,40($sp)
|
|
#else
|
|
subu $sp,$sp,32
|
|
sw $31,20($sp)
|
|
#endif
|