[PATCH][x86] Fix for objdump internal error

H.J. Lu hjl.tools@gmail.com
Tue Dec 17 13:27:00 GMT 2013


On Tue, Dec 17, 2013 at 4:20 AM, Michael Zolotukhin
<michael.v.zolotukhin@gmail.com> wrote:
> Hi,
>
> Recently I've implemented a stress testing for x86 objdump, and that
> revealed an internal error.
>
> Here is a small reproducer:
> $ cat t.s
> .byte 0xFF, 0xDC
> $ as t.s
> $ objdump -dw
> ...
> 0000000000000000 <.text>:
>    0:   ff dc                   lcallq *<internal disassembler error>
>
> The fix is attached, but it is without the test - where should this
> test be placed?
>

Please add 2 tests to gas/testsuite/gas/i386, disassem.s
and x86-64-disassem.s.

Thanks.

-- 
H.J.



More information about the Binutils mailing list