From patchwork Mon Jul 14 11:43:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Modra X-Patchwork-Id: 2050 X-Patchwork-Delegate: azanella@linux.vnet.ibm.com Received: (qmail 13926 invoked by alias); 14 Jul 2014 11:43:52 -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 13912 invoked by uid 89); 14 Jul 2014 11:43:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f54.google.com X-Received: by 10.66.161.4 with SMTP id xo4mr16550528pab.36.1405338229224; Mon, 14 Jul 2014 04:43:49 -0700 (PDT) Date: Mon, 14 Jul 2014 21:13:44 +0930 From: Alan Modra To: libc-alpha@sourceware.org Subject: Bug 17153, PowerPC64le shared libraries with multiple tocs resolve plt to function local entry Message-ID: <20140714114344.GS8039@bubble.grove.modra.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Applying as obvious. We have four DT_PPC64 values now but left DT_PPC64_NUM at 3, with effects as described in the bugzilla. 2014-07-14 Alan Modra [BZ #17153] * elf/elf.h (DT_PPC64_NUM): Correct value. diff --git a/elf/elf.h b/elf/elf.h index 40e87b2..78815e8 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -2283,7 +2283,7 @@ typedef Elf32_Addr Elf32_Conflict; #define DT_PPC64_OPD (DT_LOPROC + 1) #define DT_PPC64_OPDSZ (DT_LOPROC + 2) #define DT_PPC64_OPT (DT_LOPROC + 3) -#define DT_PPC64_NUM 3 +#define DT_PPC64_NUM 4 /* PowerPC64 specific values for the DT_PPC64_OPT Dyn entry. */ #define PPC64_OPT_TLS 1