aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-h8300/relax.d
blob: a5672a5ee2361914bee3ecd9e2e7c99183700cea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# name: H8300 Relxation Test
# ld: --relax
# objdump: -d --no-show-raw-insn

# Based on the test case reported by Kazu Hirata:
# http://sources.redhat.com/ml/binutils/2002-11/msg00301.html

.*:     file format .*-h8300

Disassembly of section .text:

00000100 <_start>:
 100:	0d 00             mov.w	r0,r0
 102:	47 02             beq	.+2 \(106\)
 104:	55 02             bsr	.+2 \(108\)

00000106 <.L1>:
 106:	54 70             rts	

00000108 <_bar>:
 108:	54 70             rts