When building current master on sparc64-unknown-linux-gnu (Debian 5.7.10), all 32-bit tests failed to link because the matching startup files and libraries weren't found. As on Linux/x86_64 they live in lib32 subdirectories.
This patch searches those directories as on x86 and ppc, allowing 32-bit links to succeed.