]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove redunant test of ELF size in core note decoder.
authorNick Clifton <nickc@redhat.com>
Tue, 19 Mar 2024 15:16:43 +0000 (15:16 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 19 Mar 2024 15:17:23 +0000 (15:17 +0000)
  PR 31469

binutils/readelf.c

index 6e3ac1baf6d01f6ea683788fb18c028da1c4ed29..26e152fed935d57ba79a2c55688d2822a755c5ff 100644 (file)
@@ -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"));