Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5358993yba; Tue, 30 Apr 2019 13:27:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbfa5kZn74SWmpnaSAIEc3jR+23JGqQ1vBlQUpK0XlGBAX/dP2yATQMiWQOG0RTYuWD0l6 X-Received: by 2002:a65:60ca:: with SMTP id r10mr4737422pgv.64.1556656064072; Tue, 30 Apr 2019 13:27:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556656064; cv=none; d=google.com; s=arc-20160816; b=e0g9YzCzuwf8wnq4+2nzWmKbptvxxvRq+rEcHXG38Ww3LdK3zSyq5B+ZHp3flopLjf ZdYq1zzC7TR356cgiR92uZLC+/ULQ2RYrwY7fYkUOVXfen01KbK0mDMGCwGGKB4lYt3x kq+NqV6f9Z2l7/vSaDrGcmnTnPp13SqUd/sBt7hi2XeyFnjjM+FF+qXiG5HdYUuQg2jN 2lghmIZvPiko2N5jjUC9QX4Vb+0JXzeLtWImjs/6zUKTvKFJfExtiFh5UViZHfcW+qzJ qo9TpRjHjC+eOW5pSu40+8ZVIqX4Ia2+CtxNYAIOHZ5EhOlE8eYtzF5a2LN0OG6AK3Gy 5icA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+QG7LUyac8Bk0JT7xv5jYSfFqXif4TjSSyRo6jcCpuw=; b=F04d8HG8IhWDss6/s3QDSCV9QawzeCobrJJHnG/FMyft2zkE3o80b3mle1gpCT0eSG sPj+hLqacEMIrZXU+PoaZsDwYaVq9p2K/PYF9sc/7ROZF14ALktlrZX+Tsfn14AiGSNm ziQTRWXcqHbhV1Ra6gihsOgX4FUWX7RvU51LXeUBgxg1dN8RjEVN883gUcMcQ8pATJpZ LwKXSJCqGCogxaQLvQqZROx/MxC61jfBzgIDgwPE3IE7hozurS9VnGflcte/IHPpAoj0 +d+f7TFzpHrw2c4JKaDZoF2MsSElgdq6CrBWWe6On9ioHs3OSXFw3mNQKk1UWPZwyIq3 MCmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=nzo+Vhm7; 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 p12si11140963pgn.431.2019.04.30.13.27.28; Tue, 30 Apr 2019 13:27:44 -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=nzo+Vhm7; 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 S1727068AbfD3U0N (ORCPT + 99 others); Tue, 30 Apr 2019 16:26:13 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:45723 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727016AbfD3U0N (ORCPT ); Tue, 30 Apr 2019 16:26:13 -0400 Received: by mail-pg1-f195.google.com with SMTP id i21so3917587pgi.12 for ; Tue, 30 Apr 2019 13:26:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+QG7LUyac8Bk0JT7xv5jYSfFqXif4TjSSyRo6jcCpuw=; b=nzo+Vhm73rkoNWUFmlVDo1zweAJCGmAR9ilVc9ahK9Wuq6QgGHOioiTeHHcR2sQyn0 7H/2ArTXJ5Y2CR0+clAyx7fmXbOyyNddeDBFcxBj9Qs6vhkDao2OtTKBlMr9wRl+X+4L c5CBykbEjqxCY1a+eBZFPOQPPfR5PNbPykDcAZ/gv1blmYUApRUq+y8ZIbsGNLTb/upW +qYC9nasI7fMP37fu7szb/nftT+5/UoK7MsaVskVzDU8KqsLwA0/+LD4LmvuJMcCeRiu DOb2b0Q74qm2tQrV03ckh3Qtr4a3N5V0fFGkyZELOXLSRIDlIGkStOsxq0aUZa26b7gz aT0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+QG7LUyac8Bk0JT7xv5jYSfFqXif4TjSSyRo6jcCpuw=; b=nr50MmeZ8dn6VxFh4zuvRiYI58kYF1lpEuUHYDOQTf9wF/54SMxjHK7Y1SrvfFNn5C jnpyfXUQQ5zQQD/DbKqOFNwmO9lnCTbhtuz0cuhfecHTyCZF87a/6olDuva5wZOLh+QZ zjkmKUaN7QiIS3LJqvXntSxx1hivLuPkWsCNVInf3du3FoRPcZ31Fk+YOt/iJs2hrQt7 Pj2RDmuYswcAiomsgpSQNN1/s0lRfWpm7vY6eTHyuxH9Q8MuZLg+jvDFCAo+nJCMXnKJ zRxCen4mdwQ3sJqVhnMk7xMhV+u+0PpgqASgWuWeFpihafx6VpBZlEDtIjqk/bDbkbmr 3N8A== X-Gm-Message-State: APjAAAU3JGGbsAJHNE+C3+c+N8fA0Ct5LwgqxEFLGh4ZWLlOUlTNXIew ZlFer68uiNDOFvoFzaZ19t1Cl4xKodSGamFnoKDtow== X-Received: by 2002:aa7:8096:: with SMTP id v22mr73372500pff.94.1556655971995; Tue, 30 Apr 2019 13:26:11 -0700 (PDT) MIME-Version: 1.0 References: <20190424180223.253025-1-ndesaulniers@google.com> In-Reply-To: <20190424180223.253025-1-ndesaulniers@google.com> From: Nick Desaulniers Date: Tue, 30 Apr 2019 13:26:00 -0700 Message-ID: Subject: Re: [PATCH v2] sh: vsyscall: drop unnecessary cc-ldoption To: Yoshinori Sato , dalias@libc.org Cc: Geert Uytterhoeven , Andy Lutomirski , clang-built-linux , Masahiro Yamada , linux-sh@vger.kernel.org, LKML 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 On Wed, Apr 24, 2019 at 11:02 AM Nick Desaulniers wrote: > > 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 > bumping for review -- Thanks, ~Nick Desaulniers