From patchwork Tue Apr 23 21:22:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Desaulniers X-Patchwork-Id: 162735 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp4261699jan; Tue, 23 Apr 2019 14:23:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzuU+G/bAk+/VwAVwBGgy73lJnJLR/BTWItHTHN5sUuw+sZkNAZ2DXJYD4cJIxAWuKx2nO/ X-Received: by 2002:a63:d713:: with SMTP id d19mr27158807pgg.145.1556054581205; Tue, 23 Apr 2019 14:23:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556054581; cv=none; d=google.com; s=arc-20160816; b=i5E9IE6gmwGqxLAHyg91EuaEWgbU8MOZzHnJ0VosirbzuRfT47vMStwaU0UaRuCkxg PhDzFy6QFVBzw8G78d4l/S+66deoXVMYe7uKAAmLSqqsHfMfEBWBDEPcteTatog8JTLE Qby4Vif2WQeate6aQYf7S39UKjfsN1lAtRauMgYBdnrNfdwyXduraGRZpkER4anMFcFr BDgBzebw52s1jGY8TYBJzw0GDfkMzg3xOyrjBh6Y7ItR2yuqMrCRIE/jMkVucQ7bCITM gTnuYrnOdz7Ow3Ths64y79BvjuYCBX/ULy58pJpFW8HT+J6cirksjvmg2jLxEpgQ9OUc jAFA== 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=8vlVGUDGuhaBum7VBXWJ2Ypo4IITj7wohx6wdq9xz00=; b=OSmvzZ0gTWV1HZkTlEE7mpnik7cAHWenPsXRj4fN7kK54pXYOg+B6vGN4vODomXvNy DJRYi2G9UUF43y7rfGxB/62rxTTVtz4Oq5LnXqfMKrcbFLmwNqEY/Kz+6pgwVrYxwAIi wyRWx0tJRUgc9APGcnWinzh4Ud0tEmaYy33FgYxAB9hvxGYYStjwWUwVrXeblmJr3ogC NRSb5YpJwTsm86nX/0uwg+66qQQ51BaxgzQiavWHZ2s4qjICCjKh8eYIHMdu4uSIrYwb DSQG9rHd9IixQ4aRB83tuHu84adT3PWYW4vfrmxZ08vLzGmQbHB0GWcPH8ATml6lS+5S CBNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=UOF5nYs3; 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 m3si16736733pfh.249.2019.04.23.14.23.00; Tue, 23 Apr 2019 14:23:01 -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=UOF5nYs3; 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 S1728049AbfDWVW7 (ORCPT + 30 others); Tue, 23 Apr 2019 17:22:59 -0400 Received: from mail-oi1-f202.google.com ([209.85.167.202]:40616 "EHLO mail-oi1-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726075AbfDWVW7 (ORCPT ); Tue, 23 Apr 2019 17:22:59 -0400 Received: by mail-oi1-f202.google.com with SMTP id q82so6665216oif.7 for ; Tue, 23 Apr 2019 14:22:58 -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=8vlVGUDGuhaBum7VBXWJ2Ypo4IITj7wohx6wdq9xz00=; b=UOF5nYs3c+dDVnGSN4CYAmHRGzjeARM2Ftbv92tRi+1cryxR95ULqvVMem3a8MWDhM lAbL5MTzXH5J722iGevcK84S+PIteceFaLQcvK5Z64QO43JL5RMBKOwy3yl8qsY/HhfA 8VtD/jiu/MuPBLh2PPRdV1c88Zabuc2/T+pGriu4/3ip6gYaoJB9VWExbMN2plQ24v/+ l0kiHQppke8xxTwaJq9xDowiaIbUkzifAZyAHp68pEFg73oZchhgvbRvzsNPtJ054iyH 8zqb35m55epPXw1MVYnuLQ9tJKSEkESss7HhN/1rYuVW7J0jg2lleZUd2CfkRR7ZUBXJ g8tA== 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=8vlVGUDGuhaBum7VBXWJ2Ypo4IITj7wohx6wdq9xz00=; b=UqQ5taRi4YF5shmqB+yes4Fvp0vDB0CH9cDkFr+ETgFWPlsaLTul2AaF4dIgYDdSEf bU+t0qhjyl0wATqC4lsZvrXhuUgUFUZoNFecmV8dklLktQliuh3nNPyJgbFGNuHrrwvn GACWkVzVt7LcIb1H0okxukdodihOUEDDZt5puh8tD8RuAEbLNUHnBiIT6NR7oN7crotS 0IqPQkS3g81olnyuX+qcyCSJucKGwaMSVYZjZzcLF2uvpYOVSSYmXab7SIVFIxM3lHiu R7H122EMZwcK/d3nrmwArU1PINSG9AvuJtVLYSjq4VJLUIbtn8XIo3/33bxuZ23CiS2e Yx/Q== X-Gm-Message-State: APjAAAWmmqy/h5nzZGbkfD3+4jOAEvAVIQnPw3FRp7PIgahNjRhDZBO0 OV9vphUlcdsge9eR3fFSa6OaR2I57y0dcKzDu80= X-Received: by 2002:aca:5946:: with SMTP id n67mr3127938oib.48.1556054578217; Tue, 23 Apr 2019 14:22:58 -0700 (PDT) Date: Tue, 23 Apr 2019 14:22:53 -0700 Message-Id: <20190423212254.9504-1-ndesaulniers@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.21.0.593.g511ec345e18-goog Subject: [PATCH] riscv: vdso: drop unnecessary cc-ldoption From: Nick Desaulniers To: palmer@sifive.com, aou@eecs.berkeley.edu Cc: Nick Desaulniers , clang-built-linux@googlegroups.com, Masahiro Yamada , Arnd Bergmann , Aurelien Jarno , linux-riscv@lists.infradead.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/riscv/kernel/vdso/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.21.0.593.g511ec345e18-goog Reviewed-by: Christoph Hellwig diff --git a/arch/riscv/kernel/vdso/Makefile b/arch/riscv/kernel/vdso/Makefile index fec62b24df89..b07b765f312a 100644 --- a/arch/riscv/kernel/vdso/Makefile +++ b/arch/riscv/kernel/vdso/Makefile @@ -36,7 +36,7 @@ $(obj)/vdso.so.dbg: $(src)/vdso.lds $(obj-vdso) FORCE # these symbols in the kernel code rather than hand-coded addresses. SYSCFLAGS_vdso.so.dbg = -shared -s -Wl,-soname=linux-vdso.so.1 \ - $(call cc-ldoption, -Wl$(comma)--hash-style=both) + -Wl,--hash-style=both $(obj)/vdso-dummy.o: $(src)/vdso.lds $(obj)/rt_sigreturn.o FORCE $(call if_changed,vdsold)