summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mmix/reloclab.s
blob: 2066e04251060ca4538462397d3f61b28dcba075 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Different relocations for extern labels: GETA, PUSHJ, Bcc, JMP.
# Mix in different accesses to local labels to see that relaxing works for
# this case.
Main	JMP foo+8
	JMP here
	GETA $8,here
	BOD $99,here
	SWYM 0
here	BZ $222,bar+16
there	GETA $4,baz
	PUSHJ $7,foobar
	JMP there
	GETA $88,there
	BOD $111,there