OSDN Git Service

* doc/extend.texi (MIPS DSP Built-in Functions): Document the DSP
[pf3gnuchains/gcc-fork.git] / gcc / config / mips / crti.asm
1 /* 4 slots for argument spill area.  1 for cpreturn, 1 for stack.
2    Return spill offset of 40 and 20.  Aligned to 16 bytes for n32.  */
3
4         .section .init,"ax",@progbits
5         .globl  _init
6         .type   _init,@function
7 _init:
8 #ifdef __mips64
9         daddu   $sp,$sp,-48
10         sd      $31,40($sp)
11 #else
12         addu    $sp,$sp,-32
13         sw      $31,20($sp)
14 #endif
15
16         .section .fini,"ax",@progbits
17         .globl  _fini
18         .type   _fini,@function
19 _fini:
20 #ifdef __mips64
21         daddu   $sp,$sp,-48
22         sd      $31,40($sp)
23 #else
24         addu    $sp,$sp,-32
25         sw      $31,20($sp)
26 #endif