X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2Fobjcopy.c;h=42c7775234dd70a84a959686769a6e39f8f5c30c;hb=2f91880f3afb3cc521111dfcc99b214c77aa97a1;hp=36952ecd6f587cb5acf17774215ec848744afb9a;hpb=1395c6ce47510babad3dcb9892f6f2517a3f2b59;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 36952ecd6f..42c7775234 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -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;