about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2018-02-09 18:37:15 -0500
committerDJ Delorie <dj@redhat.com>2018-02-09 18:51:32 -0500
commit6a1ff640dcec04905d8518983ad6252d38b7a733 (patch)
treed714d9de09f760254186217ba9c8d8e1d4887597 /ChangeLog
parent31958338998aba1cca8090839a4c4866366d76cf (diff)
downloadglibc-6a1ff640dcec04905d8518983ad6252d38b7a733.tar.gz
glibc-6a1ff640dcec04905d8518983ad6252d38b7a733.tar.xz
glibc-6a1ff640dcec04905d8518983ad6252d38b7a733.zip
[RISC-V] Fix parsing flags in ELF64 files.
When ldconfig reads Elf64 files to determine the ABI, it used the
Elf32 type, so read the wrong location, and stored the wrong ABI
type in the cache, making the cache useless.  This patch uses
an Elf64 type for Elf64 objects instead.

Note that pre-patch caches might need to be manually removed and
regenerated to get the correct ABIs stored.

	[BZ #22827]
	* sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
	64-bit ELF type for 64-bit ELF objects.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2063f7399b..1a0ed9d05e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-02-09  DJ Delorie  <dj@redhat.com>
+
+	[BZ #22827]
+	* sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
+	64-bit ELF type for 64-bit ELF objects.
+
 2018-02-09  Joseph Myers  <joseph@codesourcery.com>
 
 	* math/libm-test-driver.c (snan_tests_arg): New variable.