• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1! Test that all common kinds of relocs get right for simple cases.
2! Main part.
3	.text
4	.global start
5	.mode SHmedia
6start:
7	movi	foo,r33
8	movi	bar,r21
9	pt/l	bar,tr3
10	movi	foobar,r43
11	movi	baz2,r53
12	movi	foobar2,r4
13	pta	xyzzy,tr5
14	pt/u	plugh,tr1
15
16	.data
17	.global foobar
18foobar:	.long	baz
19foobar2:
20	.long	bar
21
22	.section .text.other,"ax"
23	.global xyzzy
24xyzzy:
25	nop
26plugh:
27	nop
28