From patchwork Tue Apr 23 21:15: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: 162733 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp4255918jan; Tue, 23 Apr 2019 14:16:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjpUjfg5kuIEfePU2Gd3zr5S8KcRpQYNikjLWBznw7K+cSQaQgVIS3y9E2ExmPZxhVYY6O X-Received: by 2002:a65:558a:: with SMTP id j10mr26646527pgs.85.1556054181074; Tue, 23 Apr 2019 14:16:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556054181; cv=none; d=google.com; s=arc-20160816; b=z458uK9U/9ke5lZb/5wWQmwwxHTBCz94YkaPAxpF0tlfKTlkdfghLOzeJdyLyn2CXu 52GTjp8TFq1P/N1SVjF843fydHQpz+gyvuondxaS29RwExkThhhqE5C0GSgNigN6d8Rv Wmo2pP30pEACOAcKaGyy8tpnP8OXNljzaQzQKy6qLWqDCiufflzvG0MeyIyjPXiSID/y rBZGsEvGIN/NsJ7eB5vGVU1WPkDVkAbgAMv5b7mG2fiOX1fR603KTKPwUk9H885Odgb5 RZSXOqE6wyPn410VpzeffxNGdqEZzfzxwugFnMuXtlAj86Li4OtHSbeG6BO8bCC5TGHw VC3w== 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=zwticmzDXTuD2usR0HamRrNVNkzWKEvaBnNaKDIUP9U=; b=gj+GwhT4s7Whd2LXjbsmQqf2rP9w0Evu2SLQfKe1oI7JvaxPGlxNQiF1zhLYeZTYxS t1lIgOGNljqgL/JVqT4E1lBfFzeNBlYZkUFUyCGvzaOJtikHuyBANySnQodBzUDq5tv/ lZCcBxWuyQ4lCk8ykPK2fhnyUvfLIG8h2O/wcZDazyW98/0FPCHvrc1qfXPjYg0Oe1Ua vxb67KH8luC5FY8Z09AWbIDTFfGAlR+37IIgt+0aETJHOvEY8lFdNl8Qf93QTGeYTUTp LrWmG5AZ4gWtzYIirPdlg3Dic9CzXYIT4JP5b9LiwNJa8pW9JCn3BzpP5Wa+BWDKxgql WYmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="sv/53jT2"; 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 l10si8910376pgg.536.2019.04.23.14.16.20; Tue, 23 Apr 2019 14:16:21 -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="sv/53jT2"; 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 S1727898AbfDWVQT (ORCPT + 30 others); Tue, 23 Apr 2019 17:16:19 -0400 Received: from mail-ua1-f73.google.com ([209.85.222.73]:41226 "EHLO mail-ua1-f73.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726075AbfDWVQT (ORCPT ); Tue, 23 Apr 2019 17:16:19 -0400 Received: by mail-ua1-f73.google.com with SMTP id o26so2024257uar.8 for ; Tue, 23 Apr 2019 14:16:18 -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=zwticmzDXTuD2usR0HamRrNVNkzWKEvaBnNaKDIUP9U=; b=sv/53jT29JGAqQNkjnN3SiBAXINSYk8Fsz0rxPwXWhw8Vsh4Ijmq9+TL+wGTAx06DD EijqWaotTDj8zyteNA7+TufWqSxzM93zB18k+j5mvwV31lNPcA/rhIF1jFNuDbpj6sLc x3aXynk1uFp4d8i4e6j5F2n+/wklhfUM4ylhAQpT6gETUvjp3ncs9ncig+pgbAjzpuMF nEBx6XFaXxMiUfU4HnKUkfbvdeWQsQPS5uVt+3ANzZ76dK3ZURYovm+KRyRBR5Q478+1 3y4Vhj1Ozl5ISacvTm6zSMt4SXqglRU31cL3xlHuAkS6mAvwDUYM7qVgrmtK35DDy4Wx 96KQ== 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=zwticmzDXTuD2usR0HamRrNVNkzWKEvaBnNaKDIUP9U=; b=G8J89tacgG0pU8TVjDCpylG6m1RbE5OLmAgMpw7/Z0j7fU32Q0g98C0Ot2oj0imSur /Y4lIhm2lRADOFBjILqaRk+e3UuAriyBgvVzAsl1xw3PoA684liT+pUYEBMdAaRPDH/8 i+w8/ylHggPxAJNLF8xvPaSnrw+td/2WL16rvcGkf7aaDh9vCsosLHxFHFq9A5dClmr1 /ZfhSQo9cehaECdbKqK8hfqn0ibd5oRUj/zrTkR+eCEiOKitZblROjDTeRnlD3VwWiSa g/qQu+Ab7iWiFFhqghgT996Zt2Rtqjv+Xw1XKpOnQ/LJMQRiLf8mPVZhfOSITjnUrzwe 1KJQ== X-Gm-Message-State: APjAAAUmRfwCGVC4OqlqXNCb7TAWW8iv4juD/fLWjE8gNGrQztdRBZtv JDvy8xlW5EYfOkslrfiXF3zUphP3eh/M6z+90rE= X-Received: by 2002:ab0:278b:: with SMTP id t11mr13541612uap.88.1556054178288; Tue, 23 Apr 2019 14:16:18 -0700 (PDT) Date: Tue, 23 Apr 2019 14:15:53 -0700 Message-Id: <20190423211554.1594-1-ndesaulniers@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.21.0.593.g511ec345e18-goog Subject: [PATCH] x86: um: vdso: drop unnecessary cc-ldoption From: Nick Desaulniers To: jdike@addtoit.com, richard@nod.at, anton.ivanov@cambridgegreys.com Cc: Nick Desaulniers , clang-built-linux@googlegroups.com, Masahiro Yamada , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, linux-um@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/x86/um/vdso/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.21.0.593.g511ec345e18-goog diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile index bf94060fc06f..0caddd6acb22 100644 --- a/arch/x86/um/vdso/Makefile +++ b/arch/x86/um/vdso/Makefile @@ -62,7 +62,7 @@ quiet_cmd_vdso = VDSO $@ -Wl,-T,$(filter %.lds,$^) $(filter %.o,$^) && \ sh $(srctree)/$(src)/checkundef.sh '$(NM)' '$@' -VDSO_LDFLAGS = -fPIC -shared $(call cc-ldoption, -Wl$(comma)--hash-style=sysv) +VDSO_LDFLAGS = -fPIC -shared -Wl,--hash-style=sysv GCOV_PROFILE := n #