https://sourceware.org/bugzilla/show_bug.cgi?id=33550

            Bug ID: 33550
           Summary: bfd_error_no_memory isn't handled properly
           Product: binutils
           Version: 2.46 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

There are codes like

919       if (!BFD_SEND (abfd, _bfd_slurp_armap, (abfd))
920           || !BFD_SEND (abfd, _bfd_slurp_extended_name_table, (abfd)))
921         {
922           if (bfd_get_error () != bfd_error_system_call)
923             bfd_set_error (bfd_error_wrong_format);
924           bfd_release (abfd, bfd_ardata (abfd));
925           return NULL;
926         }

in bfd which ignores bfd_error_no_memory.  It leads to misleading linker
error messages later.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to