diff options
author | Nick Clifton <nickc@redhat.com> | 2024-03-19 15:16:43 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-03-19 15:17:23 +0000 |
commit | 696f6b6660a082a401494b4f499c3acf3ed59c93 (patch) | |
tree | 919e2edcc43a42ba7334b071e14ee9600992d7f5 /binutils | |
parent | 8695c3a693849bf6ebd3c6d0620f03bcc6429604 (diff) | |
download | binutils-696f6b6660a082a401494b4f499c3acf3ed59c93.zip binutils-696f6b6660a082a401494b4f499c3acf3ed59c93.tar.gz binutils-696f6b6660a082a401494b4f499c3acf3ed59c93.tar.bz2 |
Remove redunant test of ELF size in core note decoder.
PR 31469
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/readelf.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 6e3ac1b..26e152f 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")); |