Fix possible bug when no args have been provided to the executable
[deliverable/binutils-gdb.git] / binutils / objcopy.c
index 36952ecd6f587cb5acf17774215ec848744afb9a..42c7775234dd70a84a959686769a6e39f8f5c30c 100644 (file)
@@ -2137,13 +2137,6 @@ merge_gnu_build_notes (bfd * abfd, asection * sec, bfd_size_type size, bfd_byte
            relcount = 0;
        }
 
-      /* A few targets (eg MIPS, SPARC) create multiple internal relocs to
-        represent a single external reloc.  Unfortunately the current BFD
-        API does not handle deleting relocs in such situations very well
-        and so it is unsafe to proceed.  */
-      if (relcount > sec->reloc_count)
-       goto done;
-
       /* Eliminate the duplicates.  */
       new = new_contents = xmalloc (size);
       for (pnote = pnotes, old = contents;
This page took 0.024421 seconds and 4 git commands to generate.