Bug 9983 - Wrong disassembly printed by 'objdump' for i386 'sete' instruction beginning with '0f 94'
Summary: Wrong disassembly printed by 'objdump' for i386 'sete' instruction beginning ...
Status: RESOLVED INVALID
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.19
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-23 09:53 UTC by yuri
Modified: 2009-03-23 14:23 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yuri 2009-03-23 09:53:05 UTC
I spotted then following lines in objdump output:
   4:   0f 94 84 24 20 10 00    sete   0x1020(%esp)
   b:   00

Instruction 'sete   0x1020(%esp)' is correct, but the following 00 byte still
belongs to 'sete' instruction.

I believe that the correct fix for all such issues is to make 'as' and 'objdump'
to work off the same instruction definitions.
Comment 1 Alan Modra 2009-03-23 14:23:38 UTC
see objdump --help, -w option