Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4876721imm; Fri, 18 May 2018 12:12:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrs5jj/6dog/OUGS3zyKLfVW7gqHBlgGt5vF4LTL6cxf1HXHgLu4rmsBYmOsnGwc9cIAQHz X-Received: by 2002:a62:190f:: with SMTP id 15-v6mr10561733pfz.42.1526670730716; Fri, 18 May 2018 12:12:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526670730; cv=none; d=google.com; s=arc-20160816; b=nJ4XEyFiqas4hVUZi/gumLrgqHj6Tw2CzxsMntDBi+5mpaKY5QvRnn/LTR0Zjm2eY6 XMDFmtfKXa4pGN9U1/ykml+2BiYIuES0JeT1GgfSiPfTRC3Pj2AiBmTdBWrJAeo/MIeL I6CfhTJVoySjwDDUUpopOlTzSF3/g3epES4Wc3xp/ydr/Q1F0akgEfAZju0/iHXQUVcH T60wtv3qzg5gxpXSRX0cdtdQDr77DifZGX7mw45S+VKbXZwBLc+8fj9kW+H47Iw2134p mekGFoYGZZcsvsKewKIaS0CGxNIAHrEztjdnVsHjWDt2+FSKiic+/bxurQKulRUfkZbR HtDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=D5DW9Wwa8e+vobGxjYCtI3tlv6zpo+NbmY6CHRdYnqE=; b=oILEiuWszp3d0ef964Dal7i0H6Cw7s6LFS0yHJ3M4R+xf0QMfj69DOgGfbYHpsZEX1 7OSMiQHx/B8rCq4QTeqA4P7r/TH8745DGTVhUnDwUOQ4va1QYTQGAQxNf/VOW28ED8HV jAH9xUf8hkrcp84XodkAOSl1P44WA/JAHPWAHUoqSDLN6A3Pr/MDU5Bt8gk/ALUr+E2f Sef4qkRvvAWw/avMzCrTfeTq+guyw3mtC/pDBPzX6nhvFpPQjwitv6AMdYh4rXT5nThR 8TlRDjjgd14EOirC/cua67SwAwyeLBAjMG0EL5Ks7PrpM/3wh69zmFx/AljNFZAEfSxq l7WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=SfQNIh+g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z9-v6si8486015pll.423.2018.05.18.12.11.56; Fri, 18 May 2018 12:12:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=SfQNIh+g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752370AbeERTLQ (ORCPT + 99 others); Fri, 18 May 2018 15:11:16 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:40365 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752348AbeERTLN (ORCPT ); Fri, 18 May 2018 15:11:13 -0400 Received: by mail-io0-f193.google.com with SMTP id g14-v6so7412648ioc.7 for ; Fri, 18 May 2018 12:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=D5DW9Wwa8e+vobGxjYCtI3tlv6zpo+NbmY6CHRdYnqE=; b=SfQNIh+gN3VSKQdx9MCVuyFIR1LJoc8ydJadFaoVm71/vaNXeS2P74TWsl6NqGckDT eJ1fa+emhDzsTdrjHeWmlbajd6cI/tAqSZkGgNrjG/O//lp/AWQJeR2fKzx4pr0UEVyN vjsZzBXQkkpd+3r+kVJzF+Zwf6aDC0Y06eg9M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=D5DW9Wwa8e+vobGxjYCtI3tlv6zpo+NbmY6CHRdYnqE=; b=uHSijqERuMOmUG35Ok7hrn158u2xvDmYCoGsN7Qmmiir+WhO6r+C/VsYohCB22WZMe 5iVyziLkrDhlRTDKxjcjO8oatvcUr0ROOONEQRKn9RmjBrKvDoBP5tUgzpDiWtwnXfD1 NWtaIuoMeNJDq4jsxt1L9tCXx5HtcGtujO+H8HTeqCDsZtL9Z0LVtqr2UWWWPHPYFY/b OOuU94ejrO+RgiJVUn00f+oEDnid5/AnjokY6wSUpbPsWDDQccWR1VFocVJldRBAChYp nEV4BsbGZrvz5nxTtp+rUDEIVnABo0F0MqMdZcc5l1hCSJCgogz1/rWu4xgoO7qSS4Y7 c0fg== X-Gm-Message-State: ALKqPwdh1eP125zCuFciBo4b/nQC6mKLxTBki9jEoNJ+ij2M4vcDGpHH QF2Gsx/G51foj6GObfOBotsBBYoNgMZSA/LE0ks= X-Received: by 2002:a6b:a460:: with SMTP id n93-v6mr12238058ioe.238.1526670672340; Fri, 18 May 2018 12:11:12 -0700 (PDT) MIME-Version: 1.0 References: <20180517161402.78089-1-namit@vmware.com> <20180517161402.78089-3-namit@vmware.com> <20180518075853.GD12217@hirez.programming.kicks-ass.net> <6DB0E0C2-CCD2-4FCE-BD8B-5E340E308FF7@vmware.com> <2F760FAE-C19C-4BC3-A8CC-7D17CEF3B116@zytor.com> <6A3E90AA-7838-4C2A-B628-908F34902B75@vmware.com> In-Reply-To: <6A3E90AA-7838-4C2A-B628-908F34902B75@vmware.com> From: Linus Torvalds Date: Fri, 18 May 2018 12:11:01 -0700 Message-ID: Subject: Re: [PATCH 2/6] x86: bug: prevent gcc distortions To: namit@vmware.com Cc: Peter Anvin , Peter Zijlstra , Linux Kernel Mailing List , "the arch/x86 maintainers" , Thomas Gleixner , Ingo Molnar , Josh Poimboeuf Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 18, 2018 at 12:02 PM Nadav Amit 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