summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-sh/sh64/crange-2a.s
blob: 9af6bbe2578e77840d6d02ada500ab88553affe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
! Simple example with assembler-generated .cranges that do not need more
! .cranges added by the linker: A single section with SHmedia, constants
! and SHcompact.
	.section .text.mixed,"ax"
	.align 2
! Make sure this symbol does not have the expected type.
	.mode SHcompact
	.global diversion2
diversion2:

	.mode SHmedia
start2:
	nop
	nop
	nop

	.long 42
	.long 43

	.mode SHcompact
	nop
	nop