github.com/afumu/libc@v0.0.6/musl/src/ldso/m68k/dlsym.s (about)

     1  .text
     2  .global dlsym
     3  .hidden __dlsym
     4  .type dlsym,@function
     5  dlsym:
     6  	move.l (%sp),-(%sp)
     7  	move.l 12(%sp),-(%sp)
     8  	move.l 12(%sp),-(%sp)
     9  	lea __dlsym-.-8,%a1
    10  	jsr (%pc,%a1)
    11  	add.l #12,%sp
    12  	rts