xref: /third_party/musl/src/ldso/mips/dlsym.s
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/src/ldso/mips/
1570af302Sopenharmony_ci.set noreorder
2570af302Sopenharmony_ci.global dlsym
3570af302Sopenharmony_ci.hidden __dlsym
4570af302Sopenharmony_ci.type dlsym,@function
5570af302Sopenharmony_cidlsym:
6570af302Sopenharmony_ci	lui $gp, %hi(_gp_disp)
7570af302Sopenharmony_ci	addiu $gp, %lo(_gp_disp)
8570af302Sopenharmony_ci	addu $gp, $gp, $25
9570af302Sopenharmony_ci	move $6, $ra
10570af302Sopenharmony_ci	lw $25, %call16(__dlsym)($gp)
11570af302Sopenharmony_ci	addiu $sp, $sp, -16
12570af302Sopenharmony_ci	sw $ra, 12($sp)
13570af302Sopenharmony_ci	jalr $25
14570af302Sopenharmony_ci	nop
15570af302Sopenharmony_ci	lw $ra, 12($sp)
16570af302Sopenharmony_ci	jr $ra
17570af302Sopenharmony_ci	addiu $sp, $sp, 16
18

Indexes created Thu Nov 07 10:32:03 CST 2024