This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH v2] ia64: don't fail when converting binary into ELF
- From: Sergei Trofimovich <slyfox at gentoo dot org>
- To: Alan Modra <amodra at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 2 Jan 2020 23:53:38 +0000
- Subject: Re: [PATCH v2] ia64: don't fail when converting binary into ELF
- References: <20191227044153.GM18153@bubble.grove.modra.org> <20191227101505.2397482-1-slyfox@gentoo.org> <20191229230938.GH16749@bubble.grove.modra.org>
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