Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4033984yba; Tue, 23 Apr 2019 13:58:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGLS7tB5M12KxiqWIK+6upF7adIuddLXREBepRNBQ9G0XDj7ub6vDAaPCvT0WwC4RzDYiE X-Received: by 2002:a17:902:bb90:: with SMTP id m16mr28734166pls.340.1556053091367; Tue, 23 Apr 2019 13:58:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556053091; cv=none; d=google.com; s=arc-20160816; b=FrGt3r5Xt8o1owTSfBNr69T1r7EecsFdW8CF+eN5R6borbsLTfTZ0BiOGfnJVsHVR/ JpIoFoLF9O835Tn3Fvn41oo4oHmKUZu9NgD3NnALFcUcLRGvGeGiLpRtVsn3lqO049Lt PVa060osEKCm9+u7oJPYZmhemaoVUGSqQld+raZV3FOwf3s8dkitcHwPfw6kjOWTsIhY flwITd1zPLZw2t7huROM5s6B3RzGVAAbKIVyQoaM621tGSynv0rwZUEyrtEFgh0ZPL21 0XzlFq4nQWROmJgP9Clul8dC44R3Rsji6R7cwPyFfFNF7o3/H0bibVJQkRh7L2XGHbN5 RdMg== 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 b98si14306093plb.375.2019.04.23.13.57.55; Tue, 23 Apr 2019 13:58:11 -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 S1728107AbfDWUza (ORCPT + 99 others); Tue, 23 Apr 2019 16:55:30 -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 Content-Type: text/plain; charset="UTF-8" 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(-) 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 -- 2.21.0.593.g511ec345e18-goog