New x86 linker testsuite failure

Alan Modra amodra@gmail.com
Thu Jun 21 13:59:00 GMT 2018


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



More information about the Binutils mailing list