From patchwork Sat Jun 29 13:46:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Chen X-Patchwork-Id: 1124772 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-103353-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=andestech.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="dHBQvZ85"; 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 45bZfv4YDFz9s5c for ; Sat, 29 Jun 2019 23:46:30 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-type; q=dns; s=default; b=Su31VSMag+fvebPh pUDm/u+P8hcqWxmArFNdKTlkn44CJBvXwPWd1879+sYtugGUmhWENGssxwcYJJaI G71wysHsClU+ky9Q0hyuxGcSDw+aZLs2XUhBy2j6mXcrq5R1uLCtO0ilyLn6ExZu gmXAHqcaYQoGTCce6mALG655B4I= 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:from:to:cc:subject:date:message-id :mime-version:content-type; s=default; bh=E5ttYf2vfKbVM2lavf9Tw2 nf1cs=; b=dHBQvZ854yZSgwuwV8ZIW3LJ8Fu7X1t3mPLI6MOIhj4ml2F0WozwtB X47VuY8eAz5+qRZxBmIry9Bs+Vw3UwP15dwf4ZEmivHaJZsgk5WZz8roapyAnIkS Cj3pI7dcEIJb/LgodJWqgUgrszq5NpZgNxK7A7dhUsbzvECQ4rXM4= Received: (qmail 92685 invoked by alias); 29 Jun 2019 13:46:24 -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 91920 invoked by uid 89); 29 Jun 2019 13:46:20 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RDNS_DYNAMIC, SPF_PASS, TVD_RCVD_IP autolearn=ham version=3.3.1 spammy=nds32, HX-Envelope-From:sk:vincent, UD:sym, Word X-HELO: ATCSQR.andestech.com From: Vincent Chen To: CC: , Vincent Chen Subject: [PATCH] dl-vdso: Add LINUX_4 HASH CODE to support nds32 vdso mechanism Date: Sat, 29 Jun 2019 21:46:03 +0800 Message-ID: <1561815963-9241-1-git-send-email-vincentc@andestech.com> MIME-Version: 1.0 X-DNSRBL: X-MAIL: ATCSQR.andestech.com x5TDcBIv020310 --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/dl-vdso.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index cbac0c4..43060fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -106,6 +106,11 @@ * sysdeps/unix/sysv/linux/nds32/ucontext_i.sym: Likewise. * sysdeps/unix/sysv/linux/nds32/vfork.S: Likewise. +2019-06-29 Vincent Chen + + * sysdeps/unix/sysv/linux/dl-vdso.h: Add LINUX_4 + HASH code to support nds32 vdso mechanism. + 2019-06-28 Wilco Dijkstra * benchtests/bench-math-inlines.c: Increase iterations. diff --git a/sysdeps/unix/sysv/linux/dl-vdso.h b/sysdeps/unix/sysv/linux/dl-vdso.h index c418c69..d83afe1 100644 --- a/sysdeps/unix/sysv/linux/dl-vdso.h +++ b/sysdeps/unix/sysv/linux/dl-vdso.h @@ -46,6 +46,8 @@ prepare_version_base (const char *name, ElfW(Word) hash) #define VDSO_HASH_LINUX_2_6_29 123718585 #define VDSO_NAME_LINUX_2_6_39 "LINUX_2.6.39" #define VDSO_HASH_LINUX_2_6_39 123718537 +#define VDSO_NAME_LINUX_4 "LINUX_4" +#define VDSO_HASH_LINUX_4 14921332 #define VDSO_NAME_LINUX_4_9 "LINUX_4.9" #define VDSO_HASH_LINUX_4_9 61765625 #define VDSO_NAME_LINUX_4_15 "LINUX_4.15"