1/*
2 * This file is subject to the terms and conditions of the GNU Lesser General
3 * Public License 2.1.  See the file "COPYING-LGPL-2.1" in the main directory of
4 * this archive for more details.
5 *
6 * Copyright (C) 2013 Imagination Technologies Ltd.
7 * Author: Yann Le Du <ledu@kymasys.com>
8 */
9
10#define a0      $4
11#define a1      $5
12#define sp      $29
13
14.section .text.init, "ax"
15.type _start, @function
16.globl _start
17_start:
18	lw    a0, 4(sp)
19	move  a1, sp
20	jal   __main
21	nop
221:
23	b    1b
24