Message ID | 20171115213428.22559-16-samitolvanen@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A1F48604D4 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 15 Nov 2017 21:49:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 96AA92A322 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 15 Nov 2017 21:49:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B1CC2A323; Wed, 15 Nov 2017 21:49:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8DC3D2A324 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 15 Nov 2017 21:49:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=r+8UpMc9YcuHGSGjTi9dxpgRQkRdpcUfKqvDibSmsh4=; b=RNNGIwPHxQMx0yhv6VCCykVAq1 NByVqpxUYxaCW491ghbDTBleFiFkZz7JGJ9VhsI2s98l1rWQH/QwT/HyLsaQwQfF9mQ+uh7TNvRyE zjYEllB6oIix87jO29jtJIDp2By4O4fcUF+eLPKToUIoCerHEjwO3/fH/62VoTg3BfeLTR9efaQhk yjL+nzi87PaNO/Bd+3Qa9JoKWCCq3Qo8fRLRlcWc6JSM7T/Aa++tCWW1zdXjdEVkp8NZ3fhYl+LYS t56bGx1t+NCkEv3pLOJ09a9VKxRzs20RI1TH71IV2I6iwDLN9tHFuj2+/5EwIEgLJ+MyhJzMMYjp/ Gwk/UyCQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eF5YL-0003wb-Hl; Wed, 15 Nov 2017 21:49:01 +0000 Received: from mail-it0-x244.google.com ([2607:f8b0:4001:c0b::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eF5LB-0000Gz-Nq for linux-arm-kernel@lists.infradead.org; Wed, 15 Nov 2017 21:35:32 +0000 Received: by mail-it0-x244.google.com with SMTP id m191so3490715itg.2 for <linux-arm-kernel@lists.infradead.org>; Wed, 15 Nov 2017 13:35:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Drzf+ovEUSyOi+53PvLdTMzivnlbedBfWSZ+CryATUQ=; b=bzWv+NeIx2p2su/5gOneAVWNULdjJOuBUMBCfc6Ye7xJFf6ZPXoGYQhkDfLqG2oBkt 3IShxadTwx9NMhd5aOb5O8PVbW7nxm0HGCWp6pVs9HL/qe47zH4ag38YEInhDLITDMmq KNiaj/XFUcDh+DQDFWQZmyoaBK1CFS/J9tiQ4YUuMsYjS3viWA1fR1L/NeuIBMebwcnQ xv5uwpHuswD1wj5zmoEIeuEVRmnxnAbx1QurVPgqKyhroH0c08B+vq9XBNANnRSuOOGY PBw0mAneCCqvRC6ilAiQdBOXNsCDTT6JSZ33ZOKJwGAKhP8YiN9Bkh2HVXbuewOmcc91 zJWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Drzf+ovEUSyOi+53PvLdTMzivnlbedBfWSZ+CryATUQ=; b=a75QNScHrTm/N5pM8S36ivq8vrslliQmVWpsLkkfWqFAPLSollES1HIBvpupNn77cJ TrkPidE8NF1d7jUalaqDyFfbMf28V7kRMkASzXKY69+0Fj+4wRscCPs5PoPKr0aqc1k1 rdUFZGfMr/K1m4ENSgFP8aEtXuXlv/JY4/83DFlpH/sHLhdzHKhEzyJZ3BiEltbhV+kH TqZHtI6lGG+cww49gOQb80jKWDPEh18NOtMIAMCjNxNQhMq2c7QS87CV/Jlpfac2CYNz ThAZ9cReEr2Mp1Cxo+g/FGkmvNflfW0JQb+9oDlyFvcnmaKwVbb48vOkTZrz/zUB6g3S so2w== X-Gm-Message-State: AJaThX7Kd64YUVNIGLPiBEKqhJzmncuRdQ+F2M1MT8GTBK9X9a05XC21 EhO9Ju1iHekkw/e8TOdYuB7wJw== X-Google-Smtp-Source: AGs4zMZLberruuddT3NsyKt1sfH7jWZU/Bxbxciw/cAmaR7Skr4UmmWvuYjnLimEjadt/To6G6kVqg== X-Received: by 10.36.46.4 with SMTP id i4mr4954179ita.145.1510781708483; Wed, 15 Nov 2017 13:35:08 -0800 (PST) Received: from samitolvanen.mtv.corp.google.com ([100.98.112.14]) by smtp.gmail.com with ESMTPSA id 68sm9735197iov.2.2017.11.15.13.35.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Nov 2017 13:35:07 -0800 (PST) From: Sami Tolvanen <samitolvanen@google.com> To: Alex Matveev <alxmtvv@gmail.com>, Andi Kleen <ak@linux.intel.com>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Greg Hackmann <ghackmann@google.com>, Kees Cook <keescook@chromium.org>, linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Rutland <mark.rutland@arm.com>, Masahiro Yamada <yamada.masahiro@socionext.com>, Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>, Michal Marek <michal.lkml@markovi.net>, Nick Desaulniers <ndesaulniers@google.com>, Yury Norov <ynorov@caviumnetworks.com>, Matthias Kaehlcke <mka@chromium.org> Subject: [PATCH v2 15/18] efi/libstub: disable LTO Date: Wed, 15 Nov 2017 13:34:25 -0800 Message-Id: <20171115213428.22559-16-samitolvanen@google.com> X-Mailer: git-send-email 2.15.0.448.gf294e3d99a-goog In-Reply-To: <20171115213428.22559-1-samitolvanen@google.com> References: <20171115213428.22559-1-samitolvanen@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171115_133526_216658_2A1E7DF4 X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Sami Tolvanen <samitolvanen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/firmware/efi/libstub/Makefile b/drivers/firmware/efi/libstub/Makefile index adaa4a964f0c..69b3fbfb7f97 100644 --- a/drivers/firmware/efi/libstub/Makefile +++ b/drivers/firmware/efi/libstub/Makefile @@ -20,7 +20,8 @@ cflags-$(CONFIG_EFI_ARMSTUB) += -I$(srctree)/scripts/dtc/libfdt KBUILD_CFLAGS := $(cflags-y) -DDISABLE_BRANCH_PROFILING \ -D__NO_FORTIFY \ $(call cc-option,-ffreestanding) \ - $(call cc-option,-fno-stack-protector) + $(call cc-option,-fno-stack-protector) \ + $(DISABLE_LTO) GCOV_PROFILE := n KASAN_SANITIZE := n