Created attachment 174258 [details]
Being such a critical third-party module we should have testing options for this port so we can catch regressions or evaluate better before enabling features.
I borrowed the test option from the GCC port. I am not sure this adapts perfectly to binutils as the tests don't finish but it's a start.
The approach is wrong, all what is needed is a simple:
Also note that to depend on dejagnu, TEST_DEPENDS=... should be enough.
Btw the testsuite works here to the exception of some weird -Wa,-madd-bnd-prefix which clang does not accept