Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s
2023-03-06 14:48:14 +01:00

16 lines
213 B
ArmAsm

.abicalls
.option pic0
.global __start
.ent __start
__start:
lui $2,%hi(foo)
addiu $2,$2,%lo(foo)
lui $2,%hi(obj1)
addiu $2,$2,%lo(obj1)
.end __start
.data
.word foo
.word bar
.word obj1
.word obj2