From patchwork Tue Apr 23 20:55:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Desaulniers X-Patchwork-Id: 162730 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp4237804jan; Tue, 23 Apr 2019 13:55:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzZ5Xdk/xvMyRvQ80zuaTR8VOJ5lCtTB3zSzMrJjSfXJo5kHzXn4cafaER73rb6rCfVJ4zZ X-Received: by 2002:a63:44d:: with SMTP id 74mr13205040pge.149.1556052932409; Tue, 23 Apr 2019 13:55:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556052932; cv=none; d=google.com; s=arc-20160816; b=UuwCS3hE1NGO7DipIuPZink8zHhsrjmLk4ilNgLS0PHuGurMXeKXga96cihFg1xbye 1dmemijMcAUuhYbjLEivQEzN5w7ayijbgA9dv4iSo1mkTWr/NiccjCnxYN4hIhuYzzGL K4U2OfDh/QSYWPLq5FjLzp3Xs2sF22+gT0zPGx4sHKym36GDzqVdFXK1yF2fxFrSWmD/ 4PcO9gQmLz9Lp5PTuRJ0uPVbUN38dcP6Z+BQTYI5xvuCobA5vL2yQSIiZAwB7KQiBL7J SVkjSB2FcyZ3UurvDluFkaR59dGiS4/5qEugcJDwkD+ZeyYjX4UBfaJr6f3ndTks+3XI g+oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:mime-version :message-id:date:dkim-signature; bh=EMjKTluV8E+qBr/4JM2DWbyEMJk+9Wk2onaYSOfzL3s=; b=Iv5AbjaMJnnK1evJnyMD6p6YiJZPQw4C5Th2PP+XaESvEdcdcknPqGupNFfj5/8cQk HKX5CgcTaWvajkLz9wXmDJIXzYWZH80toBzuzYzpi1LTKAz0Qi79r4Qi4s//LL6S1p9D iXYARxN3f9gFli6i2VJvGWPm7FKon2822RH+K2PdnXHwTw7eikB0ATndlznRG1ImN6XV Re8rdBTw+U1XVc3pqqzLtxeuOmzIHJ9rzwz1YxXCm69oSNVxAeZzxtX2e6drzXu3QdQn 8Odd5ImtehkKT9Xn1Gtk0KpFqnmGr006PuEfxlfCpaDjZ5H9CCnnBCAD8n0KN+betpVU 6Qyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="NIm7S/05"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 143si15224591pga.118.2019.04.23.13.55.32; Tue, 23 Apr 2019 13:55:32 -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=@google.com header.s=20161025 header.b="NIm7S/05"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728129AbfDWUzb (ORCPT + 30 others); Tue, 23 Apr 2019 16:55:31 -0400 Received: from mail-pg1-f201.google.com ([209.85.215.201]:39885 "EHLO mail-pg1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728049AbfDWUz3 (ORCPT ); Tue, 23 Apr 2019 16:55:29 -0400 Received: by mail-pg1-f201.google.com with SMTP id m35so10720695pgl.6 for ; Tue, 23 Apr 2019 13:55:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=EMjKTluV8E+qBr/4JM2DWbyEMJk+9Wk2onaYSOfzL3s=; b=NIm7S/05ZnH3qtSdKADbfTY64hdv5puEmb7cOttJ23jX52RR8fRJsVEYkmjLF/niXk YTIbsO2K8SM/EdFXrfI+5AkBhka6+UMRMajoINN60ZhFDIeTgmWHRR9JLbag5vwvHZn6 91OO8vbyzb89Dja+8e5HqPyZ/L/C5YYakWNe+f9MtPR7MWu6YN+zKBCS6gv/jS/dd8Jx 6jJNSgk5Sn1x4rxgcgai1aayaDo5PxU4rNXle+s4o6Lf61unG9R/4LCwl47P12Kei6sI /E23WgzfDuVUO/Q6Ibw3S3fhO6hkTwfB68qvjemloY/tyKt2otsjPCLwjMoVeO4T0Olx At4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=EMjKTluV8E+qBr/4JM2DWbyEMJk+9Wk2onaYSOfzL3s=; b=Kg3tLeHA4x4w1bzKQx/gA1KxzMIBkfBgnwI4D61Xvd+FQ4P1Erc0ceHwPFqSyBJwc2 Gl+M2DtXLLKWg64+4bw6GQHgbmbEfk6MP/QFkJQuY/GfraB6ig+Tj/x5Q8gpy2Qc/LMy aBLm2ACrfLPoX4G/PYYbbPRCfGjmxP4npqwgvKrW0Lg/k4y2j6dpgnS+oSemwX25D0pZ o/cIcArpoQwReicIbN6oHDTrE1Ph09jg8bHvYSEL/T0uf36Wl7zn1wypZiHXz7G4hCr1 32vMaVpsdcKlqM1Cetoz3Ac0sfqUoskyLclRkIoSNLXPsI9t9+RUXddJ5JjRZe0U22Ak pGVg== X-Gm-Message-State: APjAAAWhQpMPgnsHxPoqDAxE93TktwVEDgLAAiRLL3ty57z7HkBzfzDV Xufb+S6bI16IuDZI1Dak8lgZ1Jq8nzi95IEe/B0= X-Received: by 2002:a63:2b0d:: with SMTP id r13mr27028919pgr.400.1556052928509; Tue, 23 Apr 2019 13:55:28 -0700 (PDT) Date: Tue, 23 Apr 2019 13:55:19 -0700 Message-Id: <20190423205521.246828-1-ndesaulniers@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.21.0.593.g511ec345e18-goog Subject: [PATCH] mips: vdso: drop unnecessary cc-ldoption From: Nick Desaulniers To: ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org Cc: Nick Desaulniers , clang-built-linux@googlegroups.com, Masahiro Yamada , Matt Redfearn , Joel Stanley , Hassan Naveed , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Towards the goal of removing cc-ldoption, it seems that --hash-style= was added to binutils 2.17.50.0.2 in 2006. The minimal required version of binutils for the kernel according to Documentation/process/changes.rst is 2.20. --build-id was added in 2.18 according to binutils-gdb/ld/NEWS. Link: https://gcc.gnu.org/ml/gcc/2007-01/msg01141.html Cc: clang-built-linux@googlegroups.com Suggested-by: Masahiro Yamada Signed-off-by: Nick Desaulniers --- arch/mips/vdso/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.21.0.593.g511ec345e18-goog diff --git a/arch/mips/vdso/Makefile b/arch/mips/vdso/Makefile index 0ede4deb8181..7221df24cb23 100644 --- a/arch/mips/vdso/Makefile +++ b/arch/mips/vdso/Makefile @@ -46,9 +46,7 @@ endif VDSO_LDFLAGS := \ -Wl,-Bsymbolic -Wl,--no-undefined -Wl,-soname=linux-vdso.so.1 \ $(addprefix -Wl$(comma),$(filter -E%,$(KBUILD_CFLAGS))) \ - -nostdlib -shared \ - $(call cc-ldoption, -Wl$(comma)--hash-style=sysv) \ - $(call cc-ldoption, -Wl$(comma)--build-id) + -nostdlib -shared -Wl,--hash-style=sysv -Wl,--build-id GCOV_PROFILE := n UBSAN_SANITIZE := n