Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp878485yba; Wed, 24 Apr 2019 11:04:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQbBMUFLXK58UzlfiehSSaHvJ5Rz32dwvaoudwORUBnpE/QUY+BaUH8gEpT22nMjpUiTXe X-Received: by 2002:a17:902:a988:: with SMTP id bh8mr15033868plb.243.1556129062699; Wed, 24 Apr 2019 11:04:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556129062; cv=none; d=google.com; s=arc-20160816; b=tqZA4ccKyUvmAv6KKs4TrpW0hN/r/rEc48V/iDJyknaPrdCcCsNuPpENy6NdAPyNRN HukKKnqQa1/xEMuOh4nt3mIwXTQSgQh1JAp+DOcdHMdUuCu9yxmPGhwuLA2d0AxxXMOm zREeszR1V+2BvGQeKrBBccQwk49L458c8PoGIAu+gx0E3tTYx5wCPYJWGV+o1nflRcOY MuYJBYaZcM3QjhBys9DPs/elD1GieYV2mW9rZxddlDI7HQdD2DBZPC0Hb+D7YA4AefbT /XAoOjwGDQfnNsuSLXU0Z3nwPBTLyCRfwt4p+efI4skwIATOae9KLgkMB0ytotpwkMwL H7pg== 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 c142si21199358pfb.32.2019.04.24.11.04.07; Wed, 24 Apr 2019 11:04:22 -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 S2389888AbfDXSCb (ORCPT + 99 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 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. 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(-) 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) -- 2.21.0.593.g511ec345e18-goog