summaryrefslogtreecommitdiffhomepage
path: root/crt/nt32/crte.s
blob: 0f7ef8289a9a76ae5b645d093886564fee8a4f91 (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
31
32
33
34
35
36
37
38
.text
.globl __so_entry_point
__so_entry_point:
	cmp	$0x1,%edx
	jne	_dso_main_routine
	mov	%edx,%eax
	ret

___dso_main_routine:
	ret

	.weak	_dso_main_routine
	.def	_dso_main_routine; .scl	2; .type 32; .endef
	.set	_dso_main_routine,___dso_main_routine

.section .midipix
	.long	__so_entry_point
	.long	_dso_main_routine
	.long	0
	.long	0

	# void *reserved[16];
	.long	0x0
	.long	0x1
	.long	0x2
	.long	0x3
	.long	0x4
	.long	0x5
	.long	0x6
	.long	0x7
	.long	0x8
	.long	0x9
	.long	0xa
	.long	0xb
	.long	0xc
	.long	0xd
	.long	0xe
	.long	0xf