This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: New x86 linker testsuite failure
- From: Alan Modra <amodra at gmail dot com>
- To: Christophe Lyon <christophe dot lyon at linaro dot org>
- Cc: nick clifton <nickc at redhat dot com>, binutils <binutils at sourceware dot org>
- Date: Thu, 21 Jun 2018 23:29:24 +0930
- Subject: Re: New x86 linker testsuite failure
- References: <87in6cic8b.fsf@redhat.com> <CAKdteObSKC9t+O4JWGm3=Q53_YL8Bd7zp1br=dcKHFMpvE_KWQ@mail.gmail.com>
On Thu, Jun 21, 2018 at 03:02:20PM +0200, Christophe Lyon wrote:
> On Thu, 21 Jun 2018 at 13:57, Nick Clifton <nickc@redhat.com> wrote:
> >
> > Hi Guys,
> >
> > Is anybody else seeing a x86 linker testsuite failure like this:
> >
> > FAIL: Invalid allocated section
> >
> > Which appears to be because the ld/testsuite/ld-i386/alloc test
> > is expected to fail:
> >
> > succeeded with: <>, expected: <.*section `.foo' can't be allocated in segment 0.*>
> >
Yeah, and the test really does want to error out as the vma/lma given
for .foo isn't possible within the text segment. The patch
responsible for the regression is "Use offsets instead of addresses in
ELF_SECTION_IN_SEGMENT for non SHT_NOBITS". I OK'd that one thinking
it was reasonable, but this fail says otherwise.
--
Alan Modra
Australia Development Lab, IBM