summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/kvx/crti.S
blob: cf5fb2b42836f0630a5abf64805be364a339d0f2 (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
29
30
31
/*
 * This file is subject to the terms and conditions of the LGPL V2.1
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 2018 Kalray Inc.
 */

	.section .init
	.align 8
	.global	_init
	.type	 _init,@function
_init:
	addd $sp = $sp, -32
	get $r15 = $ra
	;;
	sq 0[$sp] = $r14r15
	copyd $fp = $sp
	;;

	.section .fini
	.align 8
	.global	_fini
	.type	 _fini,@function
_fini:
	addd $sp = $sp, -32
	get $r15 = $ra
	;;
	sq 0[$sp] = $r14r15
	copyd $fp = $sp
	;;