From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754403AbdKFQ4q (ORCPT ); Mon, 6 Nov 2017 11:56:46 -0500 Received: from mail-io0-f193.google.com ([209.85.223.193]:46435 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754379AbdKFQ4p (ORCPT ); Mon, 6 Nov 2017 11:56:45 -0500 X-Google-Smtp-Source: ABhQp+SHuJxTy1oYxe7dzuVOSZ46uMJIQt9SOISJNBMi+pxynkFWyvm+FzXKkPivzIBwSH3kEwl/iA== Date: Mon, 6 Nov 2017 08:56:40 -0800 From: Sami Tolvanen To: Yury Norov Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Greg Hackmann , Kees Cook , Matthias Kaehlcke , Nick Desaulniers Subject: Re: [PATCH 08/15] arm64: don't pass -maarch64linux to GNU gold Message-ID: <20171106165640.GA1993@samitolvanen.mtv.corp.google.com> References: <20171103171203.107569-1-samitolvanen@google.com> <20171103171203.107569-10-samitolvanen@google.com> <20171103204157.o3y7gapsvulb7kmt@yury-thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171103204157.o3y7gapsvulb7kmt@yury-thinkpad> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 03, 2017 at 11:41:57PM +0300, Yury Norov wrote: > Also, IIUC, this patch is not related to LTO, because if ld.gold doesn't > recognize -maarch64linux with LTO, it will not recognize it in non-LTO > build. Am I right? That's correct. ld.gold --help says -m is obsolete, but at the same time, it supports a number of emulations, just with different names than ld.bfd. I'll take a closer look at this and see if there's a different flag we should be passing here instead. Looks like I also have some 0-day issues to address for v2. Sami