From patchwork Sat Jan 6 07:32:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 856348 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-88890-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="GH6q1A2V"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zDCv96b4yz9s1h for ; Sat, 6 Jan 2018 18:33:25 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:date:message-id:in-reply-to:references :cc:from:to; q=dns; s=default; b=Isv4/m7ohYdT+/rUv0eG8YfR3VPwAWM 75rsbIsatBIDLcIPmDuBWZx5dmvmHQEijusTFmR6+pDwgrCoWxQQQq7MyPqRyznQ 1oiCBnaAZReJ/mbn2HZkdPK1QC0TtMi21o/MK4KCnyJByBghHVFZiXYcJt48Oisb 6HFb20rbALjY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:date:message-id:in-reply-to:references :cc:from:to; s=default; bh=fifjX3EQkmIXXD3OtViUkg6RukU=; b=GH6q1 A2Va+KJR3MJ2RjshggR8fC1ptLUZEGGT0jr9+wTV4F9m+nFHrrpAjcs/5I8dSVfT F77ZTnaLQE0miIyNFlVaOzn9PHA3v/12wvCv5k/LwDQFnvt/BWPBM/8UWJMjck+e MIyAJsgkCmterwk7nU69YBphqe9oKIQF0npwxQ= Received: (qmail 76432 invoked by alias); 6 Jan 2018 07:32:49 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 76182 invoked by uid 89); 6 Jan 2018 07:32:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-pg0-f49.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:date:message-id:in-reply-to:references :cc:from:to; bh=6L5T0xPOS8Pg3fkm0RBeyZwlbpBv43FMMGWAwlUqzQo=; b=EXRj/6aXFpbq/xiAILh/jjvJzdacUB7g6LG7JHArx9WjkzUCZjGzutf0xGDT7tEauB bqFeIWqCLakMhVsxM+zAGVjVl3kiHR1dkVNRzY+R4+FsyzMj0p4dIm0mOxfuE6VKR/7e GCH5/2fjH3k+Ug0YWGWMDfbt2kUfdej/xf551zlX9VN1lMuwnWOPRE4kDIVbXQ++6KPi TyD27z3zqgPNg6BVQB56ciwo7dyas7DJTdnGEDYqdiQuabsr6GxlxAJVNF+TyCW+yFd5 rmHGELiZERv5WR8V7WMW4sqkY/2fWtSk3Mm7nclRCDcvZpA8UpdVoFKVP1S6PKbZtz9L At4w== X-Gm-Message-State: AKGB3mL4L+kyn5TJOK/xv+vWOl3L69VsK3tv6XUrmtJnv4vL8fVM/+7S pWjqyQO/Dp4kLCZM7bS/rWyKXg== X-Google-Smtp-Source: ACJfBourGTfpFbnHYpMVrsGq6IE41ySWoRS1x7Jg+prcBxchS2koEMwrcFmrerE7sFBICrVl4Foenw== X-Received: by 10.101.80.74 with SMTP id k10mr4624551pgo.426.1515223963069; Fri, 05 Jan 2018 23:32:43 -0800 (PST) Subject: [PATCH 3/4] Add linux-4.15 VDSO hash for RISC-V Date: Fri, 5 Jan 2018 23:32:30 -0800 Message-Id: <20180106073231.20491-4-palmer@dabbelt.com> In-Reply-To: <20180106073231.20491-1-palmer@dabbelt.com> References: <20180106073231.20491-1-palmer@dabbelt.com> Cc: patches@groups.riscv.org, Palmer Dabbelt From: Palmer Dabbelt To: libc-alpha@sourceware.org, joseph@codesourcery.com, schwab@linux-m68k.org The RISC-V Linux port defines VDSO symbols --- ChangeLog | 3 +++ sysdeps/unix/sysv/linux/dl-vdso.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index aeab82520a1f..246d2326ab90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,9 @@ (R_RISCV_TLS_TPREL64): Likewise. * Makerules (make-link-multidir): Make directories before linking into them. + * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New + define. + (VDSO_HASH_LINUX_4_15): Likewise. 2018-01-06 Samuel Thibault diff --git a/sysdeps/unix/sysv/linux/dl-vdso.h b/sysdeps/unix/sysv/linux/dl-vdso.h index 913e4e027d74..7b668d0862e2 100644 --- a/sysdeps/unix/sysv/linux/dl-vdso.h +++ b/sysdeps/unix/sysv/linux/dl-vdso.h @@ -44,6 +44,8 @@ #define VDSO_HASH_LINUX_2_6_15 123718565 #define VDSO_NAME_LINUX_2_6_29 "LINUX_2.6.29" #define VDSO_HASH_LINUX_2_6_29 123718585 +#define VDSO_NAME_LINUX_4_15 "LINUX_4.15" +#define VDSO_HASH_LINUX_4_15 182943605 /* Functions for resolving symbols in the VDSO link map. */ extern void *_dl_vdso_vsym (const char *name,