blob: 989c82b2bafdfd3e6501677bbb092b470fe8332e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#
# arch/cris/crt0.S
#
# Does arch-specific initialization and invokes __libc_init
# with the appropriate arguments.
#
# See __static_init.c or __shared_init.c for the expected
# arguments.
#
.text
.balign 4
.type _start,@function
.globl _start
_start:
/* Save the address of the ELF argument array */
move.d $sp,$r10 /* Address of ELF arguments */
/* atexit() function (assume null) */
moveq 0,$r11
/* Set up a dummy stack frame to keep gcc from getting confused */
push $r11
push $r11
jump __libc_init
.size _start, .-_start
|