From patchwork Tue Apr 23 20:48:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Desaulniers X-Patchwork-Id: 162729 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp4232830jan; Tue, 23 Apr 2019 13:48:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzu/kYbrMaX9/cNTKYKms0ySglHbUN5cpKWFR0nsXoaan1ncn3g4JKlR9S/xnTxdmtrU4/1 X-Received: by 2002:a63:c706:: with SMTP id n6mr26725118pgg.310.1556052530594; Tue, 23 Apr 2019 13:48:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556052530; cv=none; d=google.com; s=arc-20160816; b=SD5uXwJhjpXwVuXoLOMlzBusRmItSWKsPPjL8bcCSS3tQfVG13U8FKem1FHig+0ymN RyMUs4OflNtrM4WAT3t0n8ieJYhguhu+tF0+ZJ67v/J/gkmevIckC1ZlzezioO96/wec 1qYPd6NJD9PYUSG6KgiQrruFAqynhrvIITVPHokGO7/ayoMPJX7+NL+vXsElday7xnff 7j+MRLqD/sxfZF2+HBz7Sfew78Wodpa4uZBTTO8IgBj8VivzICnkLfSGEkC0Fkn3Vv/L Cn9EbY7CcK2d1tSeCggPo1hJnxSsIjzce+SluKyEeW1/F9C3+Ho+gFVDCh7Nhq+cDKxS VedQ== 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=YSuhbKwpbyapX1rcuSsPD2w0Z5CXJn6nfImMvKjn8qg=; b=xc+gwCZoKK+IIWgDINFAGiKVcgw8zkP03HOjEIwjiNsiXDRN7FnQySPVAcoWvR1Duh 7k87m8fR5aN+8dGFFk7qgykWKTW5A0JpjNnqjEdvL0bJKbCFcxC8hXeKe1eTh+ELHZqi OthoioaDvEOIGnH/Vn63AKedg8QAIHVdmHKRYDUnfL7F2b1WwOawwXaBGSXYK0+p9iQa 4XWY1QJ7p/Dm1nIczegdluuZ+rc3ey7/DQjov6A0c6yZibOyISw3i2DU+CSJ9cEAiGNY eqxq+HK8pds+/oQUtckAwoT8+fCyM38xO9zuc3eEQUEfSd8RFvEijGY48AYzbZgVbCG4 5Qng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=GvoLmCOA; 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 h25si14784765pgv.244.2019.04.23.13.48.50; Tue, 23 Apr 2019 13:48:50 -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=GvoLmCOA; 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 S1727199AbfDWUss (ORCPT + 30 others); Tue, 23 Apr 2019 16:48:48 -0400 Received: from mail-pg1-f201.google.com ([209.85.215.201]:52778 "EHLO mail-pg1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726157AbfDWUsr (ORCPT ); Tue, 23 Apr 2019 16:48:47 -0400 Received: by mail-pg1-f201.google.com with SMTP id b37so6160044pgl.19 for ; Tue, 23 Apr 2019 13:48:47 -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=YSuhbKwpbyapX1rcuSsPD2w0Z5CXJn6nfImMvKjn8qg=; b=GvoLmCOA9cilKvBWiDyUgSrvAwlf9SBR1Ln7LvB6ujxXhcCKlbYKjSNQBwet2Vt52b rtQCKujLMccx/xKBw19RoykrhsL0Gslvf7lhQJX4vIYix8D4FeGJ8jyzYBRVwhEfkkck HRcW4HjjH1nlY8FgAE2Pw+Ie6e8YP1snnlE8tIgWUgrS099YKk2mrs6CIU14xFJGaRLu 7qfuxWhtGMDEbWWSOmKEFpDZt6F75OZrUCyo/GG2EdmogJnwEsyKCY+0qyN+CplhmyjB HThd5B84xiD3f2XxZkn5y+dybpk2Nrztv0wbHBe+tu/ewIQAGOS8L0xy3p5vIvlJ0xV+ 8DDQ== 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=YSuhbKwpbyapX1rcuSsPD2w0Z5CXJn6nfImMvKjn8qg=; b=FxQz3z3FMRN8wNBvAccnyitj00z8v2LZZvGfDiGklC+xDGv2qPobMUTOTwXotMRBfz dgpJafvo4ywoEk0Q/MocxCwx+gp+/lXGmLCtYCKbS/jguN1lUhZYzWCeLmEUD5/Y6RUC 1LldtVktG5fgH9T/BQrZGpL2ArxiRedNHuD4V+XVxOwZ0yksKoTnGCIqZ2IVyomNuscJ 22WiN8Pmn4UeFPsPbTfe+OoR4CzBm1voUKHYhpwIF3qO4FZJuqueZFiTIojdxSDyzDgh iycfDEHU9wXjx9Jxwkn+xXJDllhBaUtziwIeGTxHOimBTfwifa2MJB4XSEanDdFEyu40 HqJw== X-Gm-Message-State: APjAAAWU2CSE7QbLaeomX+/clceSaWyxjeu0nA3nw7nYvdcXxy22yNd6 SplAXWNJUXWjZFy0DmqRKZQv3JYYStZcJcNGD1s= X-Received: by 2002:a63:5014:: with SMTP id e20mr2410468pgb.312.1556052526842; Tue, 23 Apr 2019 13:48:46 -0700 (PDT) Date: Tue, 23 Apr 2019 13:48:20 -0700 Message-Id: <20190423204821.241925-1-ndesaulniers@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.21.0.593.g511ec345e18-goog Subject: [PATCH] ia64: require -Wl,--hash-style=sysv From: Nick Desaulniers To: tony.luck@intel.com, fenghua.yu@intel.com Cc: Nick Desaulniers , clang-built-linux@googlegroups.com, Masahiro Yamada , linux-ia64@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/ia64/kernel/Makefile.gate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.21.0.593.g511ec345e18-goog diff --git a/arch/ia64/kernel/Makefile.gate b/arch/ia64/kernel/Makefile.gate index f53faf48b7ce..846867bff6d6 100644 --- a/arch/ia64/kernel/Makefile.gate +++ b/arch/ia64/kernel/Makefile.gate @@ -11,7 +11,7 @@ quiet_cmd_gate = GATE $@ cmd_gate = $(CC) -nostdlib $(GATECFLAGS_$(@F)) -Wl,-T,$(filter-out FORCE,$^) -o $@ GATECFLAGS_gate.so = -shared -s -Wl,-soname=linux-gate.so.1 \ - $(call cc-ldoption, -Wl$(comma)--hash-style=sysv) + -Wl,--hash-style=sysv $(obj)/gate.so: $(obj)/gate.lds $(obj)/gate.o FORCE $(call if_changed,gate)