old-cross-binutils/ld/testsuite/ld-nios2/mixed1a.s

10 lines
159 B
ArmAsm
Raw Normal View History

# 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