Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4013377yba; Tue, 23 Apr 2019 13:31:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDjxL+gM1xjH6H9/RBR9hgOy3MUx12M2pX6/7kSDfuIC06JQHQpCUSdjxt4PLC34+RO11V X-Received: by 2002:a17:902:b602:: with SMTP id b2mr28324371pls.293.1556051461029; Tue, 23 Apr 2019 13:31:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556051461; cv=none; d=google.com; s=arc-20160816; b=or3nu+jOol3OSdaWNOC9c2tMLgVf/kIfQikE+SU3cgTRdKG75v362j8Ioc5ycctlWk rLbzxQq0vbfWFcPw0zUjX+1oE7IqLYd13hrtqnwuK1stVBqt81gJ8RqcnYPvVThvnQYA C/cnSrWNKFV98aOmSHWfIjG94n1+YGBF5qUk0dgaj/bzFalvMryoKEwuYgc7/aP3Yr5R RPCcowaujEUwiGLOcMPECk7li4V9G4XmIUoli9rEdp8yI7fnG6krkpU4nm8Nx7wyiibe qHbI366F43I8irCOk0ZtH4C4ywvullyHfUKBQzIGtYFxlStuCOrYmEeDLgPFsh7wdkkt YG3w== 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=BAEeSB7WGLvyDCfjwH+OOZ5AXvciJFw3qki2ZdjWtqk=; b=kubmrNxU5uJwzGpbgSfatfYuFqOVCxRnoHCvRlm18vwBMYdOgWK26ijkXtIIzBtTcX aYiYLswan76SpZZnV64CVmbrv6+5JVrq+3NuRUUh4t+GPAVpE487CVUzOJ28FZBDVtdK DE/qe5ZBUneIk8eATomM71s3xDZkZ8KGZco8dVtdLVupKHo2nCM5ojJAd4H2OsHpjvjl nZE8l56o/uZJ3DuIK2aZqlWDxYUpTN8VLj8+TTbNdQnqDncfOlz09AgcQ9yKdBL/26v+ 4Goc+I/Jkv0UGeTGRRR36Oqeud7vt4CvqmVngiLEqO5UiL4OddHNnLh2P+3k2jIqECJA wEfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="rNb+/yQd"; 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 b22si16727670pls.285.2019.04.23.13.30.45; Tue, 23 Apr 2019 13:31: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="rNb+/yQd"; 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 S1727411AbfDWU30 (ORCPT + 99 others); Tue, 23 Apr 2019 16:29:26 -0400 Received: from mail-qk1-f201.google.com ([209.85.222.201]:34745 "EHLO mail-qk1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726075AbfDWU3Z (ORCPT ); Tue, 23 Apr 2019 16:29:25 -0400 Received: by mail-qk1-f201.google.com with SMTP id s70so14203529qka.1 for ; Tue, 23 Apr 2019 13:29:25 -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=BAEeSB7WGLvyDCfjwH+OOZ5AXvciJFw3qki2ZdjWtqk=; b=rNb+/yQd2oJ6Ajh3K+GJoteTQiuU1XWUI8+ojiGXzxP3NWfXLPE8GZRRO6aLRQUjv0 y9vm4CQ7TB+pU8KgxaLbUdOjKbWUUFJhhkQ6rve1b/AiNpSNkNmHWpSpT5PxRB/Piwff 9lMQ7b+iR4bdPCmCaKZ6BsMacA0OCJ1pTxZZEw1IJmNvWoCQ9Ghh11QKj6oWfWDBUNjE DoxWkQ2W79k/Zy+LBhbDXggzKka0q0rq3qUbtb1bJUlzKd+EXAQ52ErM/x1dcoxxYoAD JQyKc2NrZbjJHIE4QdIbRAyr8LMQw1sMfE31nEadL2pLEM1UGldr76znBP2eoKnqO+DB NQ/A== 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=BAEeSB7WGLvyDCfjwH+OOZ5AXvciJFw3qki2ZdjWtqk=; b=nsSjixB1+s5LE8nJ6gHjSsCgIuL4FfP+Y9T1k25pTXeU4OwYRLk6lVATQ8LJ9J4t8o tePxb5lmgib+Ny1pZI48esM3wtzqwLH3Hpn4n7U6R1cARiJRAXptilV+jVS7xeZvkkw4 D0YKl6C4u7uz0V/omO7zR/bW3wESAai2yr3eipGBM2LfSp9M2THnuQoWM015jYLfG2U/ ZtfeGhJncQYGGPcg+XZNVYvxWbOKb64+zKHY2/ahM3Pmbk/YYWLxXudgArlbOqPLhpN/ de3SwSLdQuBcPIk32W12pHpYhCDyraFI69jcigP+XGTLH17ia/KmS874S0QQdvLRVy2g gQYA== X-Gm-Message-State: APjAAAX7S0hxGCigG6QTwOlQDV2mJf1Fj13frZ8K0EH5cVvVg3rSu7y3 XvkDl4x0ke/8Q3raprp0XQOsWt4suEMM6BjBqDM= X-Received: by 2002:a05:6214:327:: with SMTP id j7mr7710680qvu.150.1556051364679; Tue, 23 Apr 2019 13:29:24 -0700 (PDT) Date: Tue, 23 Apr 2019 13:29:05 -0700 Message-Id: <20190423202907.234180-1-ndesaulniers@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.21.0.593.g511ec345e18-goog Subject: [PATCH] sh: require --Wl,--hash-style=sysv From: Nick Desaulniers To: ysato@users.sourceforge.jp, dalias@libc.org Cc: Nick Desaulniers , Andy Lutomirsky , clang-built-linux@googlegroups.com, Masahiro Yamada , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org 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 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 --- arch/sh/kernel/vsyscall/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/sh/kernel/vsyscall/Makefile b/arch/sh/kernel/vsyscall/Makefile index 5db6579bc44c..6e8664448048 100644 --- 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) -- 2.21.0.593.g511ec345e18-goog