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: [ld, testsuite] Relax the expectation pattern for several plugin-* tests


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


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