bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/21874] x86: Multiple segment registers in the address are not d


From: hjl.tools at gmail dot com
Subject: [Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel
Date: Fri, 10 Nov 2017 12:46:42 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=21874

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jan Beulich from comment #7)
> (In reply to H.J. Lu from comment #6)
> > If gas doesn't allow multiple segment registers in AT&T syntax, it
> > shouldn't allow them in Intel syntax.
> 
> I can only keep telling you that I view maximum possible compatibility with
> MASM more important that compatibility between the under-specified (or
> should I say not specified at all) AT&T syntax. As the maintainer of the
> Intel syntax code I would not have approved the patch in the shape you've
> committed it. Please fix it to avoid the need to revert.

My understanding is that gas can't assemble many assembly codes which
accept MASM.  It is more important for gas to be consistent with
itself. In the case of "fs:gs:[eax]", you can replace it with
"fs:[eax]" to get the same output.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]