aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/internal/x86/mlibc_crtend.S
blob: e9d91360951286c0cab8f6e4d2f02f75516ce15f (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

.hidden __mlibc_do_ctors
.hidden __mlibc_do_dtors

.section .init
	call __mlibc_do_ctors
	ret

.section .fini
	call __mlibc_do_dtors
	ret

.section .ctors
.hidden __CTOR_END__
.global __CTOR_END__
__CTOR_END__:

.section .dtors
.hidden __DTOR_END__
.global __DTOR_END__
__DTOR_END__:

.section .note.GNU-stack,"",%progbits