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

Jiong Wang jiong.wang@foss.arm.com
Wed Feb 15 17:46:00 GMT 2017


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.

Regards,
Jiong



More information about the Binutils mailing list