[PATCH] x86: Ignore CS, DS, ES, and SS segment-override prefixes in 64-bit mode
H.J. Lu
hjl.tools@gmail.com
Sun Oct 25 18:23:12 GMT 2020
On Sun, Oct 25, 2020 at 10:56 AM Borislav Petkov <bp@suse.de> wrote:
>
> On Sun, Oct 25, 2020 at 10:19:15AM -0700, H.J. Lu wrote:
> > 2 comments:
>
> Thanks for the quick reply.
>
> >
> > 1. A testcase is missing
>
> Ok.
>
> > and the ignore segment override prefix should be displayed.
>
> It is getting displayed, here is a before/after diff:
>
> -ffffffff81000022: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1)
> +ffffffff81000022: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1)
> ^^
>
> or do you mean something else?
Yes, this looks right. Please add a testcase to verify it.
> > 2. opcodes ChangeLog is in opcodes/ChangeLog.
>
> Ah, right, will correct.
>
> Thx.
--
H.J.
More information about the Binutils
mailing list