From patchwork Wed Apr 24 18:02:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Desaulniers X-Patchwork-Id: 162807 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp960147jan; Wed, 24 Apr 2019 11:02:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBQ05Hj8So8+aNE+LC1FZs586LKUVwsh/r39ERIguZAfsLyRerl1wKyjFk3z1n2OujcNgz X-Received: by 2002:a62:ae13:: with SMTP id q19mr16319280pff.152.1556128952978; Wed, 24 Apr 2019 11:02:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556128952; cv=none; d=google.com; s=arc-20160816; b=zMCHYBj9K0TXQ5bKAViGRJBYQvVX6j7xFL0EaJeDUSL5R7gdGlKdff4yqC7UofmdZE fR95f7KjZ/BJ+gk+mSXALmYwMHYaSe3ZC0t3uReSFA+BTSirwjZckhyNVpZG3nggPwCK G389t80+JAqETNIER3ucf8MkJIApdlHaA3g262ozvmF39eJwsPnOMBQp869spCRA5ffv xABGqksQlbpE830ERs7bEuPoWKoJhLzRBtVK6HGuucP/QWIEU9htbtpfkEv1SFy6reO9 /zyAltLf9AR1yYs54yVyXeCuyBEH2p4npZlwAFu+Gq9/jPQbfFAuM0TiMksO4Gb2JqlW P+KQ== 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:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=4cWEd2olSrQJQ8tmsuPoZ/kztpf8F/cSWsps4u6UzJM=; b=BvVnZjwZS3SJL/vxRdVGfVAMVG7s6D16foA+uQA5Is3WhzoP0ZLHkgBbLXDmWmfywU YoqQaqsy43Rkg66rqH+wipF3Xv0VUJNxGINCI6RrchSP/d4iP5oYv20XoXzcLS0OS+6R cTduS4z/BK/ZTe2utJYqdTfn5Rpw+L0yMjWajae7qjNkBYaSIBBpvsOiIw8WYiEm5hQA czZetOCN0M6MKyZFXEUExzXrCjbLhrk24reOuE8tz5uefGr+/IIYm5xxUiF7NP28yo+Z a0hHArneYdyT7H0KoxkAByw8THVQ8k0FwWWKRqqwV8N4dka9EORnshp40zTHJ0QOHwLa 5bHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=EdG1iXl8; 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 d30si17566701pla.404.2019.04.24.11.02.32; Wed, 24 Apr 2019 11:02: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=EdG1iXl8; 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 S2389922AbfDXSCb (ORCPT + 30 others); Wed, 24 Apr 2019 14:02:31 -0400 Received: from mail-yb1-f201.google.com ([209.85.219.201]:53513 "EHLO mail-yb1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389799AbfDXSC1 (ORCPT ); Wed, 24 Apr 2019 14:02:27 -0400 Received: by mail-yb1-f201.google.com with SMTP id y6so15106862ybb.20 for ; Wed, 24 Apr 2019 11:02:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=4cWEd2olSrQJQ8tmsuPoZ/kztpf8F/cSWsps4u6UzJM=; b=EdG1iXl8Zi4YbNJTGA9Z9SOnNPWVmifAdWUaAWBGhaPMufzkyRsaXWX2LahCvtRBLV gR9oxkgA+AuvpPQXlv1J40F/mC+fdOP5dMHRvr0FrnyqtnaOxYaSH7h+EdLbFURGBnuB 0273YdzlvKHDJ8Wyrx0jN7sNMHsHsSgR+kwohLNt3xw1QpvZj+cfOaaEa2vkznANgEpY nGzkRh0R14gQsuorR4mmLSA9xqAYWldfObl838egaeZZu8QQgoqBxjDOb8P9Vg5Ye/32 n5pw+m62lJ3SJ9Yxc6pNjM88WfbdaTZJaR1oX2R1lXdbwMCU6PiGvlms6ZoxHDHIRamr YGqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=4cWEd2olSrQJQ8tmsuPoZ/kztpf8F/cSWsps4u6UzJM=; b=Wts4zy6qNoedhp4sWrPNGyh8ykR2WIGxQoXOU7JbTz/E3sfzIxkxrxp2vMGIapIvMr 7lM/3X7WNp+DZwtTEUBvfQ+WekR8ya6mUxnM63HxXFlaFe2+PRYKS02jAlKZQevrSBjq 57ClEYM48RyN2AmspJDOLyFR2MZJV8WpL01wjCt/fBH3Pq8ofLPCX7fTAiORcpTPC8Lg WZ2vAOpI4MR8AxKwZjAmXTbY4YfgYyjJu5LSLZwqacJdFKNJPI04CkSfKReXHXVhnogX J7THtKoQBBoPfjJcXH8YmzkMSNy3q8Prh9tte/h+dpB7qg2XaTGaOrCO0BQU/AFErYLM gp5w== X-Gm-Message-State: APjAAAWcJM0DjYMouGrfgdhmK2AQnwpDyofwe2wy1WJ/tuGpZwCpsrpc /vBY5ieuNpmAtVKk+QPbjB2xznEx0RqtUCCtxTM= X-Received: by 2002:a25:42c8:: with SMTP id p191mr28479025yba.442.1556128946422; Wed, 24 Apr 2019 11:02:26 -0700 (PDT) Date: Wed, 24 Apr 2019 11:02:21 -0700 In-Reply-To: Message-Id: <20190424180223.253025-1-ndesaulniers@google.com> Mime-Version: 1.0 References: X-Mailer: git-send-email 2.21.0.593.g511ec345e18-goog Subject: [PATCH v2] sh: vsyscall: drop unnecessary cc-ldoption From: Nick Desaulniers To: ysato@users.sourceforge.jp, dalias@libc.org Cc: geert@linux-m68k.org, luto@kernel.org, Nick Desaulniers , clang-built-linux@googlegroups.com, Masahiro Yamada , linux-sh@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. 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 --- Changes V1 -> V2: * update commit subject and message as per Masahiro/Geert. To Geert's question about minimum binutils versions; no change needed to binutils. arch/sh/kernel/vsyscall/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.21.0.593.g511ec345e18-goog Acked-by: Yoshinori Sato diff --git a/arch/sh/kernel/vsyscall/Makefile b/arch/sh/kernel/vsyscall/Makefile index 5db6579bc44c..6e8664448048 100644 --- a/arch/sh/kernel/vsyscall/Makefile +++ b/arch/sh/kernel/vsyscall/Makefile @@ -15,8 +15,7 @@ quiet_cmd_syscall = SYSCALL $@ export CPPFLAGS_vsyscall.lds += -P -C -Ush -vsyscall-flags = -shared -s -Wl,-soname=linux-gate.so.1 \ - $(call cc-ldoption, -Wl$(comma)--hash-style=sysv) +vsyscall-flags = -shared -s -Wl,-soname=linux-gate.so.1 -Wl,--hash-style=sysv SYSCFLAGS_vsyscall-trapa.so = $(vsyscall-flags)