summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/h8300/crti.S
blob: cc6afe9026578204368305e9dd3410c4012bfa21 (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
#ifdef __H8300H__
	.h8300h
#endif
#ifdef __H8300S__
	.h8300s
#endif
	.file	"initfini.c"
; #APP

	.section .init
; #NO_APP
	.align 1
	.global _init
_init:
	mov.l	er6,@-er7
	mov.l	er7,er6
; #APP
	.align 1

	.section .fini
; #NO_APP
	.align 1
	.global _fini
_fini:
	mov.l	er6,@-er7
	mov.l	er7,er6
; #APP
	.align 1

	.end