Plugin tests in ld testsuite
Stephen Casner
casner@acm.org
Fri May 29 05:43:17 GMT 2020
On Fri, 29 May 2020, Alan Modra wrote:
> On Tue, May 26, 2020 at 08:43:31PM -0700, Stephen Casner wrote:
> > I'm trying to fix all the unexpected failures for the pdp11-aout
> > target in the gas, ld and binutils testsuites. I fixed a bug in
> > bfd/pdp11.c that allowed "PASS: plugin claimfile lost symbol", but
> > I've been tracing the execution of the next test, "plugin claimfile
> > replace symbol", and I don't see how to fix it. That test fails
> > because the func.o module is claimed by the plugin and yet execution
> > proceeds through loading all the symbols for that module. The test
> > fails because the symbols is _not_ undefined.
> >
> > I am also working on implementation of a pdp11-elf32 target. That
> > target does not use the bfd/pdp11.c code at all, yet the same test
> > fails in the same manner.
> >
> > Is there a target that passes this test so I can compare the execution
> > path? I had hoped to use x86_64-linux-gnu but I have not succeeded in
> > building a cross for that on my MacOS system.
>
> $ grep 'PASS: plugin claimfile lost symbol' */ld/ld.log
Thanks for responding, but that's not the test I was asking about. My
port also passes that one. Please try:
grep 'PASS: plugin claimfile replace symbol' */ld/ld.log
Perhaps that test will also pass for your collection of test cases.
If so, then I just need to get a compiler built for one that does.
-- Steve
More information about the Binutils
mailing list