Retro68/binutils/ld/testsuite/ld-nios2/mixed1a.s
2017-04-10 13:32:00 +02:00

10 lines
159 B
ArmAsm

# Test linking incompatible object file types.
.text
.global _start
_start:
movhi r2, %hiadj(foo)
addi r2, r2, %lo(foo)
ldw r2, 0(r2)
cmpeq r2, r2, zero