Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9684969imu; Wed, 5 Dec 2018 08:39:34 -0800 (PST) X-Google-Smtp-Source: AFSGD/U2FHoP+rPi/NGpSHekW/u0zO1sSRW7NI0CcJVo5Rehdfx5iRaIx62rfxiu8uVrWnX8AU97 X-Received: by 2002:a63:77ce:: with SMTP id s197mr20955291pgc.89.1544027974009; Wed, 05 Dec 2018 08:39:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544027973; cv=none; d=google.com; s=arc-20160816; b=h0ynaKoKUJWTk8mP/XiKL7/dKcDJ9gja5e1KVO7V3UToGHpKt3Kw16Ln2M/MLUI7+h tDzNWZOWAAQvN2ebZUTsEtthF6VtQmOk7t2FOMfS/P4miM1ykCYGXvJc9l4Qfb7TQwMf Fun/mGXZw8URxE0ykq8diX7zKQR5TouP+8SLCpglxORxElhvN1dWX8VPjdLX65c9PNdE 5QJNeg1RNhEh3DhKgFVqLxwr1HfJQKLjEuwqzMBKT1cHCWSocBY+cDDwNXMouxS4u5Hy wbAeIR0NzvKZGrMOSfu8LosZTwIdFYbOBsbYdUd7+X51EM5ST/cbf9+3RLhCpdGhXxNj ieAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=ATOrwfo64RSIZVwG3zT6reeU4TTRPGlCQUXTMYzUBeE=; b=s55Bh02IUjSn/v+sGGAZwFgHJ4RHtXY0aCZ57Jx8yM8nCxrvgLGQE0TYD8N8R/pnrr bTdDeZMVnROt9aKuNkvbIacS9cjtPcQea9Gl1cdvnvbtdZR1o27UpPclC0xG/GV+b6xV h3FFaLkfII5/09iR4OUOQB2s0+XL6nTlvLGzmmmXfh1fZ69W6Ij+42EAv6z1xd93T/HH NT9Qp7F3JWr3QVblFOe8wRB31kuFBxwioj7M+FWbQSuQagh7MJ+lddMiRngoU4y4XKP3 EmHscddepOFvuXieKOjhCqIFAJ2D8ErykuauQoR2cS2h4g6m+isJhF9O5ihWGIArwL0r FRRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P7qC+Qh0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k72si17738353pge.310.2018.12.05.08.39.18; Wed, 05 Dec 2018 08:39:33 -0800 (PST) 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=@linaro.org header.s=google header.b=P7qC+Qh0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727830AbeLEQh3 (ORCPT + 99 others); Wed, 5 Dec 2018 11:37:29 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:35736 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727745AbeLEQh2 (ORCPT ); Wed, 5 Dec 2018 11:37:28 -0500 Received: by mail-qt1-f196.google.com with SMTP id v11so22966246qtc.2 for ; Wed, 05 Dec 2018 08:37:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=ATOrwfo64RSIZVwG3zT6reeU4TTRPGlCQUXTMYzUBeE=; b=P7qC+Qh0yJg8wvBxco5Tv0YnPh8gaxi2jwTZX26+jm2H4hFfqdTC8CO8/Gj3BTdRrC a+muoSpP0JG93iTepOwGP+4Q8UM8VwT5eXwCmy5ULl3R5RuthBTUtPmsyqTpm643miSt 43DSn8ERc7IN2FYihZdjw/lrqoLZ929ohWDS0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=ATOrwfo64RSIZVwG3zT6reeU4TTRPGlCQUXTMYzUBeE=; b=PX38pVtKdMu6kIdRrNtZyfX3J1qmWGJDGYtCBPWZpZDaZV0gzQrl/59HQ6gUb7EfLk 4h1TDFa7w+qOFQe9m+GQREhOiFXFZ5I5Mu4z3rqfHNLZ6dqoeZKVeMuI5Wu2UfIQN7H9 AeM9SbLU+ZoPQBiGa7HCl3fWFE6cgR/OrPnph7AqosSM9w1sSFdIwWKCrB4ERkU5YUWX xma2BaY9mtnbFb+lJYwVR5br4cqZ17ixsU8LK6RL9oiZ+27mLISgIBppUN5RHNu4403K Sazppg5s8cFRiXH/7BssLAnWQYyNeJKr8fTvemb0PlB3UwelWNLP9CsrkSj8ivmHa1Eo inPw== X-Gm-Message-State: AA+aEWZa/Ww9psGsKukNh/nBybubwYsKsdaqtSi3g74SquDcYN3lGrx7 YsxYrM30rgPvV7638Qf1VvF/og== X-Received: by 2002:a05:6214:1087:: with SMTP id o7mr24780663qvr.115.1544027847713; Wed, 05 Dec 2018 08:37:27 -0800 (PST) Received: from xanadu.home (modemcable228.104-82-70.mc.videotron.ca. [70.82.104.228]) by smtp.gmail.com with ESMTPSA id v57sm14146080qtv.80.2018.12.05.08.37.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Dec 2018 08:37:26 -0800 (PST) Date: Wed, 5 Dec 2018 11:37:23 -0500 (EST) From: Nicolas Pitre To: Nathan Chancellor cc: Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Agner , Ard Biesheuvel , Nick Desaulniers Subject: Re: [PATCH 1/2] ARM: Remove '-p' from LDFLAGS In-Reply-To: <20181205014213.943-1-natechancellor@gmail.com> Message-ID: References: <20181205014213.943-1-natechancellor@gmail.com> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 4 Dec 2018, Nathan Chancellor wrote: > This option is not supported by lld: > > ld.lld: error: unknown argument: -p > > This has been a no-op in binutils since 2004 (see commit dea514f51da1 in > that tree). Given that the lowest officially supported of binutils for > the kernel is 2.20, which was released in 2009, nobody needs this flag > around so just remove it. Commit 1a381d4a0a9a ("arm64: remove no-op -p > linker flag") did the same for arm64. > > Signed-off-by: Nathan Chancellor Acked-by: Nicolas Pitre > --- > arch/arm/Makefile | 2 +- > arch/arm/boot/compressed/Makefile | 2 -- > 2 files changed, 1 insertion(+), 3 deletions(-) > > diff --git a/arch/arm/Makefile b/arch/arm/Makefile > index 05a91d8b89f3..e2a0baf36766 100644 > --- a/arch/arm/Makefile > +++ b/arch/arm/Makefile > @@ -10,7 +10,7 @@ > # > # Copyright (C) 1995-2001 by Russell King > > -LDFLAGS_vmlinux :=-p --no-undefined -X --pic-veneer > +LDFLAGS_vmlinux := --no-undefined -X --pic-veneer > ifeq ($(CONFIG_CPU_ENDIAN_BE8),y) > LDFLAGS_vmlinux += --be8 > KBUILD_LDFLAGS_MODULE += --be8 > diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile > index 1f5a5ffe7fcf..dcd07bd24b85 100644 > --- a/arch/arm/boot/compressed/Makefile > +++ b/arch/arm/boot/compressed/Makefile > @@ -131,8 +131,6 @@ endif > ifeq ($(CONFIG_CPU_ENDIAN_BE8),y) > LDFLAGS_vmlinux += --be8 > endif > -# ? > -LDFLAGS_vmlinux += -p > # Report unresolved symbol references > LDFLAGS_vmlinux += --no-undefined > # Delete all temporary local symbols > -- > 2.20.0.rc1 > >