This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][x86] Fix for objdump internal error


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]