This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New x86 linker testsuite failure


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]