Based on feedback from Joerg, change check so full tool name has to be "ld". Previously, an lld tool named "x86_86-netbsd-ld" on MacOSX would also be forced into using the darwin driver.
I've now generalized this patch so, if lld is built on an ELF system and named "ld", it will behave as the gnu linker. There is two new test cases where lld is copied to "ld". One on Linux and one on Darwin. If other non-linux ELF system want the test to run, they'll need to update test/lit.cfg.
argv[0] == "ld" means "the default linker driver" only on Darwin? On other platforms it should also mean the default linker, which is gnu ld driver, for the sake of consistency.