[ld, testsuite] Relax the expectation pattern for several plugin-* tests

Alan Modra amodra@gmail.com
Wed Feb 15 23:42:00 GMT 2017


On Wed, Feb 15, 2017 at 05:46:46PM +0000, Jiong Wang wrote:
> On 13/02/17 16:57, H.J. Lu wrote:
> >I agree that ARM linker shouldn't complain IR symbols in this case.
> >Can you update ARM linker like this?
> 
> Hmm, I saw BFD_PLUGIN is set together with BFD_LINKER_CREATED, so the current
> check in INTERWORK_FLAG should have covered this.  While it is not, so I guess
> in some place bfd linker dropped the BFD_LINKER_CREATED bit.
> 
> Some search in the code, it looks to me we should also save "BFD_LINKER_CREATED"
> in BFD_FLAGS_SAVED in bfd.c/bfd-in2.h?  I have made this change locally, and
> these failures gone away on arm native ld check without regression.

A patch to add that to BFD_FLAGS_SAVED in bfd.c is preapproved.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list