[PATCH] x86: Ignore CS, DS, ES, and SS segment-override prefixes in 64-bit mode

Borislav Petkov bp@suse.de
Sun Oct 25 17:55:57 GMT 2020


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?

> 2. opcodes ChangeLog is in opcodes/ChangeLog.

Ah, right, will correct.

Thx.

-- 
Regards/Gruss,
    Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg


More information about the Binutils mailing list