Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-mips-elf/gp-disp-sym.s

6 lines
88 B
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
.global foo
.text
foo:
lui $t0, %hi(_gp_disp)
addi $t0, $t0, %lo(_gp_disp)