This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Possible bug in objdump?
- From: Unix User <anunxusr at yahoo dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 1 May 2002 19:53:11 -0700 (PDT)
- Subject: Possible bug in objdump?
Hi,
While disassembling dhry11.c which is part of the
Dhrystone benchmarks version 1.1, objdump seems to
disassemble incorrectly. In particular, objdump deals
with the instructions "rep" and "movs" incorrectly.
So, I run:
gcc -S dhry11.c -o dhry11.s
gcc -c dhry11.c -o dhry11.o
objdump -d --no-show-raw-insn -r -s dhry11.o >
dhry11.dis
Now, dhry11.s contains the lines:
rep
movsl
The corresponding instructions in the disassembly (in
dhry11.dis) is emitted on one line as:
4c8: repz movsl %ds:(%esi),%es:(%edi)
The other instructions are disassembled correctly. So,
my question is: Is this a known bug in objdump and are
there fixes for the bug?
I can include the source file, dhry11.c, if needed.
Thanks
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com