SHA256
1
0
forked from pool/glibc
glibc/dt-ppc64-num.patch

20 lines
606 B
Diff

2014-07-14 Alan Modra <amodra@gmail.com>
[BZ #17153]
* elf/elf.h (DT_PPC64_NUM): Correct value.
* NEWS: Add to fixed bug list.
Index: glibc-2.19/elf/elf.h
===================================================================
--- glibc-2.19.orig/elf/elf.h
+++ glibc-2.19/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