summaryrefslogtreecommitdiffstats
path: root/backends/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2018-08-04 22:32:56 +0200
committerMark Wielaard <[email protected]>2018-09-13 14:30:30 +0200
commit19756e7fb614831f4a5f5ff5b996675fae638782 (patch)
tree33062e42d1e7065b9c65c424ad3595e081e3b69e /backends/ChangeLog
parentba2a7f4fa5f453c2b0a729bf519240a8f66a1867 (diff)
backends: Use elf_getshdrstrndx to find .odp section in ppc64_init
The .odp section is found by name. But ppc64_init used the e_shstrndx Ehdr field for that. This is wrong if the file contains more than SHN_LORESERVE sections. Use elf_getshdrstrndx instead to find the shstrtab section. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'backends/ChangeLog')
-rw-r--r--backends/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog
index ada349fe..fdff3021 100644
--- a/backends/ChangeLog
+++ b/backends/ChangeLog
@@ -1,5 +1,9 @@
2018-09-12 Mark Wielaard <[email protected]>
+ * ppc64_init.c (ppc64_init): Use elf_getshdrstrndx.
+
+2018-09-12 Mark Wielaard <[email protected]>
+
* aarch64_symbol.c (aarch64_check_special_symbol): Drop ehdr argument,
use elf_getshdrstrndx.
* alpha_symbol.c (alpha_check_special_symbol): Drop ehdr argument.