summaryrefslogtreecommitdiff
path: root/src/ldso/m68k/dlsym.s
blob: 5209ae1b593f74fb30105e3863f9d16fa61989a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
.text
.global dlsym
.hidden __dlsym
.type dlsym,@function
dlsym:
	move.l (%sp),-(%sp)
	move.l 12(%sp),-(%sp)
	move.l 12(%sp),-(%sp)
	lea __dlsym-.-8,%a1
	jsr (%pc,%a1)
	add.l #12,%sp
	rts