summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/csky/crtn.S
blob: c1c989f0b462d4c8fe149213287540720128500a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
 *
 * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
 * in this tarball.
 */

.file  "initfini.c"

.section .init
	ldw	lr, (sp, 4)
	addi	sp, 8
	rts

.section .fini
	ldw	lr, (sp, 4)
	addi	sp, 8
	rts