Mercurial > hg > CbC > CbC_gcc
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a06113de4d67 |
---|---|
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 |