aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-nios2/mixed1a.s
blob: 8742f1cef1e32b9f4086477b7ceb648a4baa120b (plain)
1
2
3
4
5
6
7
8
9
# 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