2003-07-04 12:25:14 +02:00
|
|
|
# name: H8300 Relaxation Test
|
2002-11-15 12:18:49 +01:00
|
|
|
# ld: --relax
|
2004-07-22 18:52:43 +02:00
|
|
|
# objdump: -d
|
2002-11-15 12:18:49 +01:00
|
|
|
|
|
|
|
# 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>:
|
2004-07-22 18:52:43 +02:00
|
|
|
100: 0d 00.*mov.w r0,r0
|
|
|
|
102: 47 02.*beq .+2 \(0x106\)
|
|
|
|
104: 55 02.*bsr .+2 \(0x108\)
|
2002-11-15 12:18:49 +01:00
|
|
|
|
|
|
|
00000106 <.L1>:
|
2004-07-22 18:52:43 +02:00
|
|
|
106: 54 70.*rts
|
2002-11-15 12:18:49 +01:00
|
|
|
|
|
|
|
00000108 <_bar>:
|
2004-07-22 18:52:43 +02:00
|
|
|
108: 54 70.*rts
|