File: crti.s

package info (click to toggle)
wasi-libc 0.0~git20220510.9886d3d-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,248 kB
  • sloc: ansic: 94,243; asm: 6,656; sh: 720; makefile: 617; awk: 301; sed: 9
file content (21 lines) | stat: -rw-r--r-- 299 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.section .init
.global  _init
.type    _init, @function
_init:
	add #-4, r15
	mov.l r12, @-r15
	mov.l r14, @-r15
	sts.l pr, @-r15
	mov r15, r14
	nop

.section .fini
.global  _fini
.type    _fini, @function
_fini:
	add #-4, r15
	mov.l r12, @-r15
	mov.l r14, @-r15
	sts.l pr, @-r15
	mov r15, r14
	nop