[binutils-gdb] Remove redunant test of ELF size in core note decoder.
Nick Clifton
nickc@sourceware.org
Tue Mar 19 15:17:29 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=696f6b6660a082a401494b4f499c3acf3ed59c93
commit 696f6b6660a082a401494b4f499c3acf3ed59c93
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Mar 19 15:16:43 2024 +0000
Remove redunant test of ELF size in core note decoder.
PR 31469
Diff:
---
binutils/readelf.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 6e3ac1baf6d..26e152fed93 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -20198,13 +20198,6 @@ print_core_note (Elf_Internal_Note *pnote)
return true;
}
- if (!is_32bit_elf)
- {
- printf (_(" Cannot decode 64-bit note in 32-bit build\n"));
- /* Still "successful". */
- return true;
- }
-
if (pnote->descsz < 2 * addr_size)
{
error (_(" Malformed note - too short for header\n"));
More information about the Binutils-cvs
mailing list