Object dump problem for H8/300 target
Anil Paranjape
AnilP1@KPITCummins.com
Tue Jun 24 04:52:00 GMT 2003
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
More information about the Binutils
mailing list