summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/sh/sh64/crange2.s
blob: 6fbebc3a4f391619f814b6a67404298985b763d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
! Check PT to SHcompact within same section as SHmedia, and that PT to
! nearby SHmedia still gets the right offset.
	.text
	.mode SHmedia
shmedia:
	pt shmedia1,tr3
	pt shcompact1,tr4
shmedia1:
	ptb shcompact2,tr5
shmedia2:
	nop

	.mode SHcompact
shcompact: ! Have a label, so disassembling unrelocated code works.
	nop
	nop
shcompact1:
	nop
	nop
shcompact2:
	nop
	nop
shcompact3:
	nop
	nop
shcompact4:
	nop
	nop

	.mode SHmedia
shmedia3:
	pt shcompact3,tr6
	ptb shcompact4,tr7
	pt shmedia2,tr0