summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-sh/sh64/crange-2b.s
blob: 670a4482e641468d9227d106ba9fe5be931ebfa3 (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
35
36
37
38
39
! Initially three separate sections, one with SHmedia and constants, one with
! SHcompact, and yet another with SHmedia.  Two .cranges sections
! generated by the assembler; two more needed at link time, as they will be
! consolidated into the same section, and mixed with a file with
! assembler-generated .cranges only and one without any .cranges.

	.section .text.shmedia,"ax"
	.mode SHmedia
	.align 2
sec1:
	nop
	nop
	nop
	nop
sec2:
	.long 41
	.long 43
	.long 42
	.long 43
	.long 42

	.section .text.shcompact,"ax"
	.align 1
	.mode SHcompact
sec3:
	nop
	nop
	nop

	.section .text.shmedia2,"ax"
	.align 2
sec4:
	.mode SHmedia
	nop
	nop
	nop
	nop
	nop
	nop