[ld, testsuite] Relax the expectation pattern for several plugin-* tests
Jiong Wang
jiong.wang@foss.arm.com
Thu Feb 16 10:16:00 GMT 2017
On 15/02/17 23:42, Alan Modra wrote:
> 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.
>
Thanks. Committed attached patch after x86/arm native check-ld/as/binutils OK.
I followed BFD_FLAGS_FOR_BFD_USE_MASK to put BFD_LINKER_CREATED and BFD_PLUGIN together.
bfd/
2017-02-16 Jiong Wang <jiong.wang@arm.com>
* bfd.c (BFD_FLAGS_SAVED): Add BFD_LINKER_CREATED.
* bfd-in2.h: Regenerated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.patch
Type: text/x-diff
Size: 1934 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20170216/729cc898/attachment.bin>
More information about the Binutils
mailing list