Home | History | Annotate | Download | only in ld-i386
      1 	.text
      2 	.globl	_start, foo
      3 	.type	_start,@function
      4 _start:
      5 	pushl	%ebp
      6 	movl	%esp, %ebp
      7         pushl	%ebx
      8         call	1f
      9 1:	popl	%ebx
     10 	addl	$_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx
     11 	movl	_start@GOT(%ebx), %eax
     12 	movl	(%eax), %eax
     13 	call	foo@PLT
     14 	movl	(%esp), %ebx
     15 	leave
     16 foo:	ret
     17 	.data
     18 	.long	_start
     19 	.section "__libc_subfreeres", "aw", @progbits
     20 	.long	_start
     21 	.section "__libc_atexit", "aw", @progbits
     22 	.long	_start
     23