summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/crti.S
blob: 3cc97f833be7bcdcba9cd5f2d5792a5c4e08d655 (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
39
40
	.file	"initfini.c"
#APP
	
	.section .init
#NO_APP
.globl _init
	.type	_init, @function
_init:
	pushl	%ebp
	movl	%esp, %ebp
	pushl	%ebx
	call	__i686.get_pc_thunk.bx
	addl	$_GLOBAL_OFFSET_TABLE_, %ebx
#APP
	
	
	
	
	.section .fini
#NO_APP
.globl _fini
	.type	_fini, @function
_fini:
	pushl	%ebp
	movl	%esp, %ebp
	pushl	%ebx
	call	__i686.get_pc_thunk.bx
	addl	$_GLOBAL_OFFSET_TABLE_, %ebx
#APP
	
	
	
	.section	.gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax",@progbits
.globl __i686.get_pc_thunk.bx
	.hidden	__i686.get_pc_thunk.bx
	.type	__i686.get_pc_thunk.bx, @function
__i686.get_pc_thunk.bx:
	movl	(%esp), %ebx
	ret
	.ident	"GCC: (GNU) 3.3.2 (Debian)"