This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Object dump problem for H8/300 target
- From: "Anil Paranjape" <AnilP1 at KPITCummins dot com>
- To: <binutils at sources dot redhat dot com>
- Date: Tue, 24 Jun 2003 10:19:34 +0530
- Subject: Object dump problem for H8/300 target
Hi All,
I have found a bug in objdump utility for H8/300 target.
My binutils version is 2.13.2.1, but same problem is also observed in binutils version 2.14 also.
Please find problem description as follows,
/********************************/
foo.s
; void foo()
; {
; }
foo:
mov.w r6, @-r7
mov.w r7, r6
mov.w @r7+, r6
rts
/********************************/
h8300-elf-as -o foo.o foo.s
h8300-elf-objdump -d foo.o > foo.dmp
Contents of foo.dmp are
/*********************************/
foo.o: file format elf32-h8300
Disassembly of section .text:
00000000 <foo>:
0: 6d f6 6d f6 mov.w r6,@-e7
2: 0d 76 0d 76 mov.w r7,r6
4: 6d 76 6d 76 mov.w @r7+,r6
6: 54 70 54 70 rts
/********************************/
The problem is, dump file is showing "-e7" instead of "-r7".
Regards,
Anil