Possible bug in objdump?
Unix User
anunxusr@yahoo.com
Wed May 1 19:53:00 GMT 2002
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
More information about the Binutils
mailing list