binutils-gdb/ld/testsuite/ld-mips-elf/gp-disp-sym.s

6 lines
88 B
ArmAsm

.global foo
.text
foo:
lui $t0, %hi(_gp_disp)
addi $t0, $t0, %lo(_gp_disp)