summaryrefslogblamecommitdiff
path: root/src/ldso/i386/start.s
blob: b16f8af578f12670907fdc4938ff61de5973ab44 (plain) (tree)
1
2
3
4
5
6
7
8


              
                     

                     
                     
                 


                 
                      
                     





                    

                     
                 
.text
.global _start
_start:
	xor %ebp,%ebp
	pop %edi
	mov %esp,%esi
	and $-16,%esp
	push %ebp
	push %ebp
	push %esi
	push %edi
	call __dynlink
	mov %esi,%esp
1:	dec %edi
	pop %esi
	cmp $-1,%esi
	jz 1b
	inc %edi
	push %esi
	push %edi
	xor %edx,%edx
	jmp *%eax