Re: [PATCH 2/6] x86: bug: prevent gcc distortions

From: Linus Torvalds
Date: Fri May 18 2018 - 14:15:10 EST


On Fri, May 18, 2018 at 12:02 PM Nadav Amit <namit@xxxxxxxxxx> wrote:

> I can add a -Wa,[filename.s] switch. It works, but sort of undocumented.

Oh, if it assembles things together, then that sounds optimal.

And yes, like hpa says, we should make sure that behavior is acknowledged
by the GNU as people, so that they then don't come back and say "hey, now
we assemble things as separate units".

That said, the "separate units" model really doesn't make much sense now
that I think about it, because 'as' supports only one output file. So I
guess the as people wouldn't have any issues with just accepting the
"concatenate all input files" syntax.

Linus