[COMMITTED 2.19] Correct DT_PPC64_NUM
Tulio Magno Quites Machado Filho
tuliom@linux.vnet.ibm.com
Fri Sep 11 19:08:00 GMT 2015
From: Alan Modra <amodra@gmail.com>
Backporting this fix to glibc 2.19.
8<-----
[BZ #17153]
* elf/elf.h (DT_PPC64_NUM): Correct value.
* NEWS: Add to fixed bug list.
(cherry picked from commit f6c44d475104e931bab2b4ffa499961088de673c)
Conflicts:
NEWS
---
ChangeLog | 6 ++++++
NEWS | 4 ++--
elf/elf.h | 2 +-
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3964305..51573d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-09-11 Alan Modra <amodra@gmail.com>
+
+ [BZ #17153]
+ * elf/elf.h (DT_PPC64_NUM): Correct value.
+ * NEWS: Add to fixed bug list.
+
2014-03-20 Andreas Schwab <schwab@suse.de>
[BZ #16743]
diff --git a/NEWS b/NEWS
index be59ead..fb0fa3c 100644
--- a/NEWS
+++ b/NEWS
@@ -10,8 +10,8 @@ Version 2.19.1
* The following bugs are resolved with this release:
15946, 16545, 16574, 16623, 16657, 16695, 16743, 16878, 16882, 16885,
- 16916, 16932, 16943, 16958, 17048, 17069, 17137, 17213, 17263, 17325,
- 17555, 18287.
+ 16916, 16932, 16943, 16958, 17048, 17069, 17137, 17153, 17213, 17263,
+ 17325, 17555, 18287.
* A buffer overflow in gethostbyname_r and related functions performing DNS
requests has been fixed. If the NSS functions were called with a
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
--
2.1.0
More information about the Libc-alpha
mailing list