Messages in this thread | | | From | Nadav Amit <> | Subject | Re: [PATCH 2/6] x86: bug: prevent gcc distortions | Date | Fri, 18 May 2018 19:18:09 +0000 |
| |
Linus Torvalds <torvalds@linux-foundation.org> wrote:
> On Fri, May 18, 2018 at 12:02 PM Nadav Amit <namit@vmware.com> 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.
Gnu ASM manual says: "Each time you run as it assembles exactly one source program. The source program is made up of one or more files.”
| |