about summary refs log tree commit diff
path: root/src/ldso/powerpc64/dlsym.s
blob: a14715fd4dc7684618fd3ab8286bbbe21edb4e00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
	.text
	.global dlsym
	.hidden __dlsym
	.type   dlsym,@function
dlsym:
	addis   2, 12, .TOC.-dlsym@ha
	addi    2,  2, .TOC.-dlsym@l
	.localentry dlsym,.-dlsym
	mflr    5                      # The return address is arg3.
	b       __dlsym
	.size   dlsym, .-dlsym