Hi, This is a follow-up to the original proposal of a change posted here:
<https://gcc.gnu.org/ml/gcc-patches/2019-11/msg00756.html> to address a catastrophic libgo testsuite failure in cross-compilation where shared `libgcc_s' library cannot be found by the loader at run time in build-tree testing and consequently no test case executes. In the course of discussion it has turned out that the culprit is in a generic GCC test framework helper and in an attempt to handle this I have come across a nonsensical warning message produced by the GCC driver interfering with the solution I have come up with. Consequently I have prepared this small patch series where in 1/2 I propose to drop the warning message in the affected case and then in 2/2 I address the actual problem. See individual change descriptions for details. These two changes have been regression-tested with `make check' using the `x86_64-linux-gnu' native system as well as the `x86_64-linux-gnu' host and the `riscv64-linux-gnu' target, with RISC-V QEMU in the Linux user emulation mode as the target board. OK to apply? Maciej