From patchwork Fri Feb 2 20:32:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 868774 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-89934-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="UKTvSHc1"; 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 3zY7w66rTkz9sBZ for ; Sat, 3 Feb 2018 07:32:54 +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:date:from:to:subject:message-id:reply-to :mime-version:content-type; q=dns; s=default; b=d15h1Ff4N4YtJXYx U1QYDUTRJgxY24VSdk59j72dh/J9UqjyiVstEpIgEoR3Wt3VExtap4H1OZGnpp0K ZKQw2fZaLIF8eKSBGXzHuYjN9TFyZehxTrYlwTb6v3BNUNAX4mbATdxM1VZhhL8P xgzgMJnKNExRUQwgFyTPcBWSXjg= 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:date:from:to:subject:message-id:reply-to :mime-version:content-type; s=default; bh=Guoimjbu+aLKawsNZB/xFT 87XAg=; b=UKTvSHc1hmMoFOMHwf8zZD2VUF7bpoX0eGcdTkDtF7gClZs8eEBbcg mO9yJdNPSPgKUDAShXsWkbHyrhSsPUHQqZ2g8qS5jff/h+3i6CbEvskSi4CJ3p6e FZKP7ljkvXdDGskDAmYLy1UVRExlyNaZVsHUE6iATrQMGMXO31oec= Received: (qmail 27440 invoked by alias); 2 Feb 2018 20:32:48 -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 27427 invoked by uid 89); 2 Feb 2018 20:32:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, NO_DNS_FOR_FROM, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: mga17.intel.com X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False X-ExtLoop1: 1 Date: Fri, 2 Feb 2018 12:32:43 -0800 From: "H.J. Lu" To: GNU C Library Subject: [PATCH] Add DT_SYMTAB_SHNDX from gABI Message-ID: <20180202203243.GA21125@gmail.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) I will check it in next week. H.J. * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34. (DT_NUM): Updated to 35. --- elf/elf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elf/elf.h b/elf/elf.h index 954f3266f7..912bad22be 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -861,7 +861,8 @@ typedef struct #define DT_ENCODING 32 /* Start of encoded range */ #define DT_PREINIT_ARRAY 32 /* Array with addresses of preinit fct*/ #define DT_PREINIT_ARRAYSZ 33 /* size in bytes of DT_PREINIT_ARRAY */ -#define DT_NUM 34 /* Number used */ +#define DT_SYMTAB_SHNDX 34 /* Address of SYMTAB_SHNDX section */ +#define DT_NUM 35 /* Number used */ #define DT_LOOS 0x6000000d /* Start of OS-specific */ #define DT_HIOS 0x6ffff000 /* End of OS-specific */ #define DT_LOPROC 0x70000000 /* Start of processor-specific */