* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-h8300 / relax.d
blobe7315a1c3db461618b511933f990cdad4ff638f8
1 # name: H8300 Relaxation Test
2 # ld: --relax
3 # objdump: -d
5 # Based on the test case reported by Kazu Hirata:
6 # http://sources.redhat.com/ml/binutils/2002-11/msg00301.html
8 .*: file format .*-h8300
10 Disassembly of section .text:
12 00000100 <_start>:
13 100: 0d 00.*mov.w r0,r0
14 102: 47 02.*beq .+2 \(0x106\)
15 104: 55 02.*bsr .+2 \(0x108\)
17 00000106 <.L1>:
18 106: 54 70.*rts
20 00000108 <_bar>:
21 108: 54 70.*rts