Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp226589yba; Tue, 23 Apr 2019 23:30:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqy70m1GQdRhhoKzcQC4/EDSf3AEehvsCU2ITIMD4IOdr7B8kBJcFD4bmw7UOzo2JoryG+8v X-Received: by 2002:a65:558a:: with SMTP id j10mr28818127pgs.85.1556087407911; Tue, 23 Apr 2019 23:30:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556087407; cv=none; d=google.com; s=arc-20160816; b=ag1f0Exi/O68qVWBqX0juDal5jqUzi1iOLUsZKfQEuOXtt7vs4v8N9nV9rfsUmUnwc VS1Qg9L3uaCakXkceujMAU7q1P3BvGzHbEtpHlquu03Np41Yxyp4uasI17OMwQFW1B1k nQFdkgv+1jLktWE7RGDuM7dSuAEukiaavwFMQ6OpwPCzpcZX78WLRsZEg97OsM361tGy m6vZZxGq7Y7y9yM62M7LzlVfKjYLyWN+2Bduwuh8xdoawp/maEjTH6IAbyGsnwY24u0j IH+EcRczVoOO648N3Z8q6KKzoXmP0mBmoBuHA2ZHF1ueqqueBuLPeqWk47n2Ku6M8Bdu bSBA== 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; bh=8qnkSY4xduiArI2tS4tmMzGVL+yMPgiXnb+jXIxR5tM=; b=Wzmxu+J1bhwI7CaawjecTGwZ4wn6guxRdqzPiDPvuKPbt8arWmfnqGynIpGTQAJTvG GBKwmW+GyJF1w+nnTL1Ff2hTNzFdwQ72tprEKIXKc0hijH8RXXbVulIsQ8onGkq0gOBU 5HarMxYt/WCQ7ZpwxBk+BEsu6rtGNW38bAQIPFFRjUoTZlML9Z+OUsbKf09Jot/Tkuz4 M62P2UAijsf5SOkUa90G9ib40kklq0+aLdwOKHgfJ6pCEmEQJD1XH4NihAYVurQiiKSi KmBZy4v3X5D06Gd1fHWX/nCIlIzrzV137VfB1q7am+I4BAXZQzPQR6HCYjfI26N0h2ff D8zA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i26si18589283pfd.140.2019.04.23.23.29.52; Tue, 23 Apr 2019 23:30:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729842AbfDXG15 (ORCPT + 99 others); Wed, 24 Apr 2019 02:27:57 -0400 Received: from mail-vs1-f67.google.com ([209.85.217.67]:38442 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726002AbfDXG14 (ORCPT ); Wed, 24 Apr 2019 02:27:56 -0400 Received: by mail-vs1-f67.google.com with SMTP id s2so9737954vsi.5; Tue, 23 Apr 2019 23:27:55 -0700 (PDT) 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=8qnkSY4xduiArI2tS4tmMzGVL+yMPgiXnb+jXIxR5tM=; b=QE4RREf8cImAvk4L02UwAr4GoyrayFZuup8Ds06q3LGkDtkXEGLysIcedWMGwdjEtJ H7uWiXFQ1Ha/R+h1nUfbSBSSXwqeIXF7NpPw5QZqyKSKvIvg7kbTZs9QkB3xVYWjtPek K/lvpEByY9NR4PgUsPnaF7su34FYaGTgSlLkHG46KTbwqxmr9pnKdX9GLxFyLG+rhUG8 s+de8gSz2q6QteMFB6lq9OJIzsKAxErWFyHisOgO1pLFzAd1zMtGQXs8xjAJ7KanoQ1h X/TollzJMyPypnNi9l4WRJ+uQF/TYnG11hVg76gGB1xl3hgKB/ZgDMNTBuCV3i7AuVfH dxJQ== X-Gm-Message-State: APjAAAWZ8gx0yEgG/eun+NHHXTR2CXPkFS+NE6iGoXvr5fxmI6vujsQc sfzvG3Gg0pq2zVz6Yem1G2OZoVaSEbUNMi/j2cc= X-Received: by 2002:a05:6102:199:: with SMTP id r25mr15640979vsq.166.1556087274956; Tue, 23 Apr 2019 23:27:54 -0700 (PDT) MIME-Version: 1.0 References: <20190423202907.234180-1-ndesaulniers@google.com> In-Reply-To: <20190423202907.234180-1-ndesaulniers@google.com> From: Geert Uytterhoeven Date: Wed, 24 Apr 2019 08:27:43 +0200 Message-ID: Subject: Re: [PATCH] sh: require --Wl,--hash-style=sysv To: Nick Desaulniers Cc: Yoshinori Sato , Rich Felker , Andy Lutomirsky , clang-built-linux@googlegroups.com, Masahiro Yamada , Linux-sh list , Linux Kernel Mailing List 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 Hi Nick, On Tue, Apr 23, 2019 at 10:31 PM Nick Desaulniers wrote: > Towards the goal of removing cc-ldoption, prefer ld-option, or better > yet, require --Wl,--hash-style=sysv since the selftest for vdso's > requires DT_HASH. > > Cc: Andy Lutomirsky > Cc: clang-built-linux@googlegroups.com > Suggested-by: Masahiro Yamada > Signed-off-by: Nick Desaulniers Thanks for your patch! > --- 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) What impact does this have on the minimum binutils version needed to compile the kernel? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds