From patchwork Tue Apr 23 21:00:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Desaulniers X-Patchwork-Id: 162731 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp4242127jan; Tue, 23 Apr 2019 14:01:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfSq1f8npEOSoQ6iMgqM0ivfgaCKzBMla/79FERB4GzKIIZOcZVaBRHvayKpPl7GPNT/HX X-Received: by 2002:a63:ed4e:: with SMTP id m14mr27279857pgk.182.1556053270766; Tue, 23 Apr 2019 14:01:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556053270; cv=none; d=google.com; s=arc-20160816; b=a2tni0gHp33w0KAMBSWjrgrnQu8mgUcgdc1JoIL+XurTjiH3we3kcCeYgiTdUMgnAJ fSaWFPvd9akRiAwdCch3bAvwVY+PxRZTFXgR0iwmRReRiP6Inq8KcXAW0imVGlir6cXU P3Aylotw+5U8M7e2+f1Y3KXlMQLZ+OZHzyhF8b5jk5y4O2It4T1wmeAu0Ba6LbMoN2Fb FmRzqlDuh+n+ZOWjvYzjdDuVti9QMPWO/MBOaTStjFjeFhFpZpUqyc5nsK8/7mAAYJ0L 7PmP9YElgaCCZhMMtdt5Dk/4lqCHFfbj2mQsdsKwv+zfbMzaRzbaD8eWfB9u4PVQfjd5 s/7g== 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=/NyG1QKcZGC0H097WcgmzNeJOBuKNIOMmohvdOrd7mQ=; b=r+yObIMOGrAHc/g2pvc/yxiDBGPOb8zWiljt+zTKTS7O7UpEcoLdYo/vbz3qkm5yrH RgHaHYiiow1wSL/cMWF4OMPtUZXd1niil5EBnOE2MpSeEQm4zvFmTI0mdwUT/QKHKqZG kqwLMAAaGUcQWsWbgIOS30gblpSQEpFeFB5RImTPoTK008XVj6BnRlIN9fOGE8T97h3o QaoPgvL/KrajUx61d89OqluUr1qMkvsP/BygiiMIfKajduck5G3485+cTnsPm2m2vXQh DuATVfzxMlVlTI6MMZvRhEWzYFo3eMZ4ePF/UYr4XKpZfsqLRbRNDq9WWXFNzrbKjF6n wHsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=FASJTTWC; 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 d12si15762885pgj.177.2019.04.23.14.01.10; Tue, 23 Apr 2019 14:01:10 -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=FASJTTWC; 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 S1727101AbfDWVBI (ORCPT + 30 others); Tue, 23 Apr 2019 17:01:08 -0400 Received: from mail-qt1-f201.google.com ([209.85.160.201]:45733 "EHLO mail-qt1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726351AbfDWVBI (ORCPT ); Tue, 23 Apr 2019 17:01:08 -0400 Received: by mail-qt1-f201.google.com with SMTP id n1so15797195qte.12 for ; Tue, 23 Apr 2019 14:01:07 -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=/NyG1QKcZGC0H097WcgmzNeJOBuKNIOMmohvdOrd7mQ=; b=FASJTTWCqCte6DZtqfZ3VuZF5Kms02wC6DBDMK17x1F7qlMATm4jEBrCThaJKzGvmf aZ9GyWywPQza1xB5ec+tlrEdQ85AZoXereip+ubkHlxt1AiO3XMo3HGpDdK4iDExJ3xg P1s1WOfO8/MnnpNJldTQuR+eGT001ReFDR5AJp1ZI0Ak9JqVztmm8cTHkvuT3Pkp2NqZ FaSmwL4RLz+bvl+5ZMaX4/c3UhBu18+ciQ4H2Fw6+FVXVrOR9p0Pt8Dv1vSrnMrdatYs bxivmWbnU7m20PzSBNOzbzGZxNqgC45k3Zxfl300ipVR+v11SWlrP2+/ndjqzStwT3jb +Ubw== 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=/NyG1QKcZGC0H097WcgmzNeJOBuKNIOMmohvdOrd7mQ=; b=Ntb4u+VrPJ7pgxuO4tQJPhg9cMPwRJBlaDGbqGibAmcS+RKxaDzK944jRVy1iCNc0o uKoURGgDyofloefThleq9aN7i4D8nj2vFz3SxSB80GN+zYLLeMl8AVF6KnMQjNG8Sf3z D5eVGaIyoRDnzT2QoxdUIjhkf+6Tr7E58lmuiZ2ZmBM1isfgth3/Hv+B9hd+pol9Cyqm MeyAU6WU4DYJeq8WfOCDV7XS0ZITl2okF1JYKJqdYJJkYBsBjCqRTBejuYpZhrLkZT+j P6QrbIvxjR8DqGdLazWAzJZI8DAR0NEWghz4bTZhndBxhZywAT7JgIAjKf7aADovSm2z 2oug== X-Gm-Message-State: APjAAAXLxndI5KN6JlMMrEKsiKnchL5bn/Di04mbRzCZOgcHTsZnBpVk Lvb72bWrO+jlTF1bsO/T4OnEhlgVNcKqGhh5L7M= X-Received: by 2002:ac8:708d:: with SMTP id y13mr23107682qto.245.1556053266943; Tue, 23 Apr 2019 14:01:06 -0700 (PDT) Date: Tue, 23 Apr 2019 14:00:56 -0700 Message-Id: <20190423210058.249510-1-ndesaulniers@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.21.0.593.g511ec345e18-goog Subject: [PATCH] s390: vdso: drop unnecessary cc-ldoption From: Nick Desaulniers To: schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com Cc: Nick Desaulniers , clang-built-linux@googlegroups.com, Masahiro Yamada , Vasily Gorbik , Philipp Rudo , linux-s390@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 --- arch/s390/kernel/vdso32/Makefile | 2 +- arch/s390/kernel/vdso64/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.21.0.593.g511ec345e18-goog diff --git a/arch/s390/kernel/vdso32/Makefile b/arch/s390/kernel/vdso32/Makefile index e76309fbbcb3..aee9ffbccb54 100644 --- a/arch/s390/kernel/vdso32/Makefile +++ b/arch/s390/kernel/vdso32/Makefile @@ -19,7 +19,7 @@ KBUILD_AFLAGS_31 += -m31 -s KBUILD_CFLAGS_31 := $(filter-out -m64,$(KBUILD_CFLAGS)) KBUILD_CFLAGS_31 += -m31 -fPIC -shared -fno-common -fno-builtin KBUILD_CFLAGS_31 += -nostdlib -Wl,-soname=linux-vdso32.so.1 \ - $(call cc-ldoption, -Wl$(comma)--hash-style=both) + -Wl,--hash-style=both $(targets:%=$(obj)/%.dbg): KBUILD_CFLAGS = $(KBUILD_CFLAGS_31) $(targets:%=$(obj)/%.dbg): KBUILD_AFLAGS = $(KBUILD_AFLAGS_31) diff --git a/arch/s390/kernel/vdso64/Makefile b/arch/s390/kernel/vdso64/Makefile index f849ac61c5da..bec19e7e6e1c 100644 --- a/arch/s390/kernel/vdso64/Makefile +++ b/arch/s390/kernel/vdso64/Makefile @@ -19,7 +19,7 @@ KBUILD_AFLAGS_64 += -m64 -s KBUILD_CFLAGS_64 := $(filter-out -m64,$(KBUILD_CFLAGS)) KBUILD_CFLAGS_64 += -m64 -fPIC -shared -fno-common -fno-builtin KBUILD_CFLAGS_64 += -nostdlib -Wl,-soname=linux-vdso64.so.1 \ - $(call cc-ldoption, -Wl$(comma)--hash-style=both) + -Wl,--hash-style=both $(targets:%=$(obj)/%.dbg): KBUILD_CFLAGS = $(KBUILD_CFLAGS_64) $(targets:%=$(obj)/%.dbg): KBUILD_AFLAGS = $(KBUILD_AFLAGS_64)