bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/32073] [2.44 Regression] gas failed to build x86-64 Linux kerne


From: matz at suse dot de
Subject: [Bug gas/32073] [2.44 Regression] gas failed to build x86-64 Linux kernel
Date: Mon, 12 Aug 2024 12:34:17 +0000

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

Michael Matz <matz at suse dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matz at suse dot de

--- Comment #7 from Michael Matz <matz at suse dot de> ---
(In reply to Jan Beulich from comment #2)
> While this use of macros may be in widespread use, that doesn't make it
> correct

"correct" is a strong word when a particular behaviour of GAS involved.  It
traditionally tried to follow the targets native assembler behaviour with
whatever quirks.  In time it developed its own quirks and people came to rely
on
them.  Nothing in that area is "correct" or "incorrect", it just is.

So, changing the assembler to have fewer quirks or have more
reliable or orthogonal behaviour needs to take the real world
into account, because that's where its raison d'etre is.  If that means
adding hacks on top of the cleaner implementation (or moving them from
somewhere), then that is what needs doing.  And if it means not even having a
cleaner implementation to start with, well, then that's the right solution :-/

(In this case, as you say, adding quirks is probably the right thing:
single-arg
macros consume everything until line-end (or whatever is was before),
and macro-arg prefix char consumes whitespace until identifier)

-- 
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]