1/*
2 * Copyright 2009, Axel D��rfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Axel D��rfler, axeld@pinc-software.de
7 *		Jonas Sundstr��m, jonas@kirilla.se
8 */
9
10/**	This file contains the final part of the ".init" and ".fini" sections in
11 *	the ELF executable. It is tightly connected to crti.S.
12 *	Have a look at crti.S to find a description of what happens here.
13 */
14
15#warning MIPSEL: fixme
16
17.section .init
18	// the image ID and program args are still on the stack
19	.set	noreorder
20	jal	__haiku_init_after
21	nop
22	.set	reorder
23
24.section .fini
25	// the image ID and program args are still on the stack
26	.set	noreorder
27	jal	__haiku_term_after
28	nop
29	.set	reorder
30