This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][x86] Fix for objdump internal error
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Michael Zolotukhin <michael dot v dot zolotukhin at gmail dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, Kirill Yukhin <kirill dot yukhin at gmail dot com>
- Date: Tue, 17 Dec 2013 05:27:33 -0800
- Subject: Re: [PATCH][x86] Fix for objdump internal error
- Authentication-results: sourceware.org; auth=none
- References: <CANtU07-Nd8WbmmTzE5ZQg9wD8qmoGm4OgPuQ_VgSjoK9jCGt0w at mail dot gmail dot com>
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.