view gcc/config/mips/crti.asm @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children 77e2b8dfacca
line wrap: on
line source

/* 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
	daddu   $sp,$sp,-48
	sd      $31,40($sp)
#else
	addu	$sp,$sp,-32
	sw	$31,20($sp)
#endif

	.section .fini,"ax",@progbits
	.globl	_fini
	.type	_fini,@function
_fini:
#ifdef __mips64
	daddu   $sp,$sp,-48
	sd      $31,40($sp)
#else
	addu	$sp,$sp,-32
	sw	$31,20($sp)
#endif