Commit | Line | Data |
---|---|---|
8c17da6e | 1 | # name: H8300 Relaxation Test |
e514ac71 | 2 | # ld: --relax |
ed049af3 | 3 | # objdump: -d |
e514ac71 NC |
4 | |
5 | # Based on the test case reported by Kazu Hirata: | |
6 | # http://sources.redhat.com/ml/binutils/2002-11/msg00301.html | |
7 | ||
8 | .*: file format .*-h8300 | |
9 | ||
10 | Disassembly of section .text: | |
11 | ||
12 | 00000100 <_start>: | |
ed049af3 NC |
13 | 100: 0d 00.*mov.w r0,r0 |
14 | 102: 47 02.*beq .+2 \(0x106\) | |
15 | 104: 55 02.*bsr .+2 \(0x108\) | |
e514ac71 NC |
16 | |
17 | 00000106 <.L1>: | |
ed049af3 | 18 | 106: 54 70.*rts |
e514ac71 NC |
19 | |
20 | 00000108 <_bar>: | |
ed049af3 | 21 | 108: 54 70.*rts |