Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8950864imu; Tue, 4 Dec 2018 17:43:31 -0800 (PST) X-Google-Smtp-Source: AFSGD/WNSeZ7uCq6HDVJRhaayfFu6QoVqH5EIDOg59CCH+MBRDHEy2eL3KuH/t5wda7/HGJp2+ij X-Received: by 2002:a65:66ce:: with SMTP id c14mr17459167pgw.450.1543974211729; Tue, 04 Dec 2018 17:43:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543974211; cv=none; d=google.com; s=arc-20160816; b=tjM2oO2eKLBQJuepMqHPj5kmyT5q8OxzeSTCtGCpZMP62I9YF67dqhqgkox/4XukEj 2mZyR8zr6JXbx9usLDscu+CwtecnD1AZ+h+KUOz3EBRPkvwmNQw4B2j7dCf5GBkukYv3 qYGujUZdOAKPuzCH9Mnnp1UPdoJUoTZhqKtfyvz9TpQt17NmGS+/2eGv7nEMuPwDWG5i ZgankV7cLOffACY1m+Z9C5v4NYXHAIr2o7MwhDDlsuI0op3dSRYX5Onv8QZOVG6jCwvQ YPL7ZRMYzXiTggUzpQy+KdbpjQnH+gMLoLW0M/FaTv7xZxHX5BNzuhC8sLQS38d6TmUP ZeZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9MYR1fL4LMIx7JzNK3MR85Ll1dY3Hp/rUqi3GHmQqLE=; b=n71yUfyfgy0w9OWjIqUdMIL9W4SV+tD+mPTRdqtyviblJb1okAyVTUJ7lOy92HJqsH hjpBclIfXzB+IFCaLbcaiuSiME/yMn0mthkBwY7GdjAg6f445ANdFfxwUWewAr8o0n/b x6qL1PcEpXSQcKyoUUoie9OxVOVaXzHJG0tML362Z4DHSBNnF8yNqigHGsx10cwVyDGq J3FxjPDMpxAwr11yW39YPTOD8Dhb0yfT/LdHa9WuFu13LXoLEVN0NzjXIhBuGz+aaQyI uVL+d7IPh7mjISAbWP8WnbZXf299eG/4tLEz4SwLqrBdG2u33x8WUQbqzkWcJu6WreQT 3bFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ObUvhjBX; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q9si16867017pgh.92.2018.12.04.17.43.16; Tue, 04 Dec 2018 17:43:31 -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=@gmail.com header.s=20161025 header.b=ObUvhjBX; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726669AbeLEBme (ORCPT + 99 others); Tue, 4 Dec 2018 20:42:34 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:33518 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725878AbeLEBme (ORCPT ); Tue, 4 Dec 2018 20:42:34 -0500 Received: by mail-wm1-f68.google.com with SMTP id r24so10658058wmh.0 for ; Tue, 04 Dec 2018 17:42:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9MYR1fL4LMIx7JzNK3MR85Ll1dY3Hp/rUqi3GHmQqLE=; b=ObUvhjBX3KdQS8ZBooFUoCSL1m+/V1krnW0L5tB8QaXp24sHBWmTSGMUsbQARuLu01 uLkUrSAgj/+T7MKthdojXLP3a27Ny0pmoSm+OwJgWP9O3sQC6ZUK1GMz6UzpP6ie+93A 9sjtZ7l5c3lqr8vGblsApe3LgbATTmBO42EI7IUBnePWAdk2KpQ7Rv7uZ1R54nsYoIEJ w+ERHMrJtlQfTEZDU5bD0tROatf48z28nRE5mkEnZxPWtcy0tgRIl3KuuQoe0DJsJaGP 0dqglt7ZbH8oDkORW0AmHP2hlAYBiuad157tNHrdHgzbKNSHkI4WuDLRnof+yknSMFdL llPw== 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:mime-version :content-transfer-encoding; bh=9MYR1fL4LMIx7JzNK3MR85Ll1dY3Hp/rUqi3GHmQqLE=; b=smAZhG2zdLZyHLk0v1ekjK0fO5r9AA/V2IDkmCTG3CXFgYEKaJIutuUwqoi4KA3zri 8OLR7gcrcJ0hPhdmyCr9Yb9AOT2Ys3wNg8vRmlu9oMgmGdFca1ane0/lKkpiuXHUaTII XOGa2gMdWOLCTPyQBxMJNK60G/DxQTkEii5AhyO4dqy6Cy7EI1TbPBpz5N3jmSJf8354 /n1TD6muIGoVd82KBK5DfLre6lym03bp6T9hlrAmwmHJt+kYiP+WimxwXq/NGtPzqqlN W4dG8+nYEYrmtc7HOA7+2AdgmYnJRROyD2DID4sxV0P0TcmMzbwoGNUgeM/bczfizIWJ 81fg== X-Gm-Message-State: AA+aEWZmOB/i9mruZwxLONWt6+EvYnfWyHSLyuELWS/uR4bb2eRm5You ZFNlplkQUaTYh+a3P1pVRaY= X-Received: by 2002:a1c:b189:: with SMTP id a131mr14761433wmf.38.1543974152112; Tue, 04 Dec 2018 17:42:32 -0800 (PST) Received: from localhost.localdomain ([2a01:4f8:10b:24a5::2]) by smtp.gmail.com with ESMTPSA id b7sm15845784wrs.47.2018.12.04.17.42.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Dec 2018 17:42:31 -0800 (PST) From: Nathan Chancellor To: Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Agner , Nicolas Pitre , Ard Biesheuvel , Nick Desaulniers , Nathan Chancellor Subject: [PATCH 1/2] ARM: Remove '-p' from LDFLAGS Date: Tue, 4 Dec 2018 18:42:12 -0700 Message-Id: <20181205014213.943-1-natechancellor@gmail.com> X-Mailer: git-send-email 2.20.0.rc1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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