summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/hppa/crti.S
blob: 9a37c7184ad24230e85197fbabc61282d470c991 (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
/* glibc's sysdeps/hppa/elf/initfini.c used for reference [PROLOG] */

	.section .init
	.align 4
	.globl _init
	.type _init,@function
_init:
	stw	%rp,-20(%sp)
	stwm	%r4,64(%sp)
	stw	%r19,-32(%sp)
	copy	%r19,%r4	/* delay slot */
	copy	%r4,%r19



	.section .fini
	.align 4
	.globl _fini
	.type _fini,@function
_fini:
	stw	%rp,-20(%sp)
	stwm	%r4,64(%sp)
	stw	%r19,-32(%sp)
	copy	%r19,%r4