about summary refs log tree commit diff
path: root/src/ldso/x32/start.s
blob: 80c1d08d9963f574bc0bca52514d54f9e2d887a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.text
.global _start
_start:
	mov (%rsp),%rdi
	lea 8(%rsp),%rsi
	call __dynlink
	pop %rdi
1:	dec %edi
	pop %rsi
	cmp $-1,%rsi
	jz 1b
	inc %edi
	push %rsi
	push %rdi
	xor %edx,%edx
	jmp *%rax