[PATCH v2] ia64: don't fail when converting binary into ELF

Sergei Trofimovich slyfox@gentoo.org
Thu Jan 2 23:53:00 GMT 2020


On Mon, 30 Dec 2019 09:39:38 +1030
Alan Modra <amodra@gmail.com> wrote:

> On Fri, Dec 27, 2019 at 10:15:05AM +0000, Sergei Trofimovich wrote:
> > From: Sergei Trofimovich <siarheit@google.com>
> > 
> > In ld/PR25316 ia64 is a rare target that fails the following test:
> >   $ echo hi > hello.123
> >   $ ia64-unknown-linux-gnu-ld -r -b binary hello.123 -o hello.o
> >   ia64-unknown-linux-gnu-ld: failed to merge target specific data of file hello.123
> > 
> > There is no need to support binary merging explicitly (as other targets).
> > 
> > bfd/ChangeLog
> > 2019-12-26  Sergei Trofimovich <siarheit@google.com>
> > 
> >         * elfnn-ia64.c (elfNN_ia64_merge_private_bfd_data): don't fail
> >         on binary inputs ld/PR25316.
> >         (is_ia64_elf): new helper to filter on ia64 objects.  
> 
> OK.

Thank you!

I'll need someone to push the change to main tree as I have no commit access.

-- 

  Sergei



More information about the Binutils mailing list