summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/csky/crti.S
blob: e7b045f3897e8a1f6dbe64c48a261807469ed962 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * 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.
 */

#include <sysdep.h>
.file  "initfini.c"

.section .init
ENTRY(_init)
	subi	sp, 8
	stw	lr, (sp, 4)

.section .fini
ENTRY(_fini)
	subi	sp, 8
	stw	lr, (sp, 4)