summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/c6x/crti.S
blob: e689a04d163889a5830b5682d3e6d3cf7432c31b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * This file just supplies function prologues for the .init and .fini
 * sections.  It is linked in before crtbegin.o.
 */

	.section .init
	.globl  _init
	.type   _init,@function
_init:
	add	.l2	-8, B15, B15
	stw	.d2t2	B3,*+B15(4)
	.section .fini
	.globl  _fini
	.type   _fini,@function
_fini:
	add	.l2	-8, B15, B15
	stw	.d2t2	B3,*+B15(4)