Revert "tests: use a %target-* substitution instead of calling 'ld' directly"
Revert "tests: use a %target-* substitution instead of calling 'ld' directly"

This reverts commit r27176.  Jordan pointed out an issue with this
approach, I'll make a different fix.

Swift SVN r27179

kperryua/swift,kperryua/swift,uasys/swift,practicalswift/swift,Ivacker/swift,manavgabhawala/swift,Jnosh/swift,kusl/swift,bitjammer/swift,JaSpa/swift,jopamer/swift,xwu/swift,stephentyrone/swift,alblue/swift,djwbrown/swift,dreamsxin/swift,tjw/swift,sdulal/swift,return/swift,dreamsxin/swift,gottesmm/swift,gregomni/swift,kentya6/swift,huonw/swift,slavapestov/swift,aschwaighofer/swift,Ivacker/swift,tardieu/swift,parkera/swift,tkremenek/swift,felix91gr/swift,benlangmuir/swift,tkremenek/swift,lorentey/swift,austinzheng/swift,alblue/swift,emilstahl/swift,arvedviehweger/swift,LeoShimonaka/swift,rudkx/swift,tkremenek/swift,therealbnut/swift,glessard/swift,gribozavr/swift,manavgabhawala/swift,russbishop/swift,stephentyrone/swift,hooman/swift,jopamer/swift,brentdax/swift,tjw/swift,modocache/swift,huonw/swift,JaSpa/swift,xwu/swift,amraboelela/swift,parkera/swift,nathawes/swift,sdulal/swift,swiftix/swift,return/swift,sdulal/swift,ben-ng/swift,atrick/swift,SwiftAndroid/swift,aschwaighofer/swift,Jnosh/swift,CodaFi/swift,shajrawi/swift,CodaFi/swift,jmgc/swift,apple/swift,hooman/swift,shahmishal/swift,MukeshKumarS/Swift,ahoppen/swift,apple/swift,therealbnut/swift,lorentey/swift,alblue/swift,swiftix/swift.old,kstaring/swift,OscarSwanros/swift,uasys/swift,khizkhiz/swift,MukeshKumarS/Swift,cbrentharris/swift,OscarSwanros/swift,gregomni/swift,JaSpa/swift,sschiau/swift,tjw/swift,devincoughlin/swift,austinzheng/swift,modocache/swift,emilstahl/swift,tinysun212/swift-windows,sdulal/swift,swiftix/swift,airspeedswift/swift,MukeshKumarS/Swift,kentya6/swift,roambotics/swift,aschwaighofer/swift,johnno1962d/swift,kusl/swift,tardieu/swift,tjw/swift,lorentey/swift,gribozavr/swift,JaSpa/swift,Ivacker/swift,xedin/swift,bitjammer/swift,khizkhiz/swift,mightydeveloper/swift,karwa/swift,apple/swift,danielmartin/swift,calebd/swift,hooman/swift,felix91gr/swift,modocache/swift,danielmartin/swift,amraboelela/swift,kusl/swift,return/swift,manavgabhawala/swift,arvedviehweger/swift,gottesmm/swift,OscarSwanros/swift,zisko/swift,roambotics/swift,johnno1962d/swift,swiftix/swift,KrishMunot/swift,tinysun212/swift-windows,emilstahl/swift,jmgc/swift,airspeedswift/swift,xwu/swift,airspeedswift/swift,IngmarStein/swift,tkremenek/swift,OscarSwanros/swift,cbrentharris/swift,Jnosh/swift,huonw/swift,practicalswift/swift,allevato/swift,Ivacker/swift,glessard/swift,modocache/swift,shajrawi/swift,parkera/swift,gregomni/swift,tardieu/swift,calebd/swift,glessard/swift,LeoShimonaka/swift,mightydeveloper/swift,johnno1962d/swift,bitjammer/swift,lorentey/swift,rudkx/swift,Ivacker/swift,stephentyrone/swift,bitjammer/swift,hughbe/swift,kentya6/swift,allevato/swift,danielmartin/swift,kperryua/swift,OscarSwanros/swift,jmgc/swift,mightydeveloper/swift,arvedviehweger/swift,kperryua/swift,xedin/swift,cbrentharris/swift,hughbe/swift,therealbnut/swift,allevato/swift,jckarter/swift,kentya6/swift,ken0nek/swift,cbrentharris/swift,natecook1000/swift,sschiau/swift,deyton/swift,harlanhaskins/swift,cbrentharris/swift,allevato/swift,tinysun212/swift-windows,jtbandes/swift,sschiau/swift,kstaring/swift,stephentyrone/swift,codestergit/swift,alblue/swift,dduan/swift,nathawes/swift,hughbe/swift,hooman/swift,djwbrown/swift,IngmarStein/swift,atrick/swift,natecook1000/swift,parkera/swift,gribozavr/swift,shajrawi/swift,lorentey/swift,kusl/swift,devincoughlin/swift,tjw/swift,kentya6/swift,Ivacker/swift,adrfer/swift,airspeedswift/swift,milseman/swift,benlangmuir/swift,therealbnut/swift,jtbandes/swift,zisko/swift,bitjammer/swift,codestergit/swift,codestergit/swift,ben-ng/swift,shajrawi/swift,brentdax/swift,milseman/swift,jckarter/swift,shajrawi/swift,karwa/swift,nathawes/swift,hughbe/swift,return/swift,deyton/swift,brentdax/swift,shahmishal/swift,tinysun212/swift-windows,SwiftAndroid/swift,atrick/swift,KrishMunot/swift,gmilos/swift,frootloops/swift,deyton/swift,swiftix/swift.old,calebd/swift,frootloops/swift,nathawes/swift,JaSpa/swift,natecook1000/swift,jckarter/swift,cbrentharris/swift,gribozavr/swift,shahmishal/swift,jckarter/swift,swiftix/swift.old,johnno1962d/swift,JaSpa/swift,tjw/swift,roambotics/swift,glessard/swift,atrick/swift,therealbnut/swift,jopamer/swift,dduan/swift,harlanhaskins/swift,xwu/swift,natecook1000/swift,arvedviehweger/swift,adrfer/swift,Jnosh/swift,mightydeveloper/swift,swiftix/swift.old,emilstahl/swift,sschiau/swift,jtbandes/swift,uasys/swift,cbrentharris/swift,swiftix/swift,dduan/swift,khizkhiz/swift,LeoShimonaka/swift,kperryua/swift,harlanhaskins/swift,emilstahl/swift,MukeshKumarS/Swift,russbishop/swift,Ivacker/swift,tinysun212/swift-windows,modocache/swift,djwbrown/swift,Jnosh/swift,harlanhaskins/swift,Ivacker/swift,swiftix/swift.old,danielmartin/swift,emilstahl/swift,harlanhaskins/swift,nathawes/swift,brentdax/swift,gmilos/swift,russbishop/swift,jckarter/swift,zisko/swift,austinzheng/swift,tkremenek/swift,xedin/swift,JGiola/swift,tinysun212/swift-windows,codestergit/swift,mightydeveloper/swift,djwbrown/swift,devincoughlin/swift,tardieu/swift,harlanhaskins/swift,codestergit/swift,gottesmm/swift,emilstahl/swift,huonw/swift,frootloops/swift,atrick/swift,lorentey/swift,hughbe/swift,ahoppen/swift,bitjammer/swift,nathawes/swift,swiftix/swift.old,calebd/swift,practicalswift/swift,rudkx/swift,LeoShimonaka/swift,jopamer/swift,jmgc/swift,SwiftAndroid/swift,devincoughlin/swift,danielmartin/swift,slavapestov/swift,manavgabhawala/swift,glessard/swift,jtbandes/swift,parkera/swift,tardieu/swift,ahoppen/swift,khizkhiz/swift,lorentey/swift,ben-ng/swift,hooman/swift,adrfer/swift,roambotics/swift,slavapestov/swift,return/swift,JGiola/swift,gmilos/swift,modocache/swift,xedin/swift,kstaring/swift,gribozavr/swift,jopamer/swift,ahoppen/swift,IngmarStein/swift,shahmishal/swift,therealbnut/swift,Jnosh/swift,karwa/swift,shajrawi/swift,LeoShimonaka/swift,IngmarStein/swift,uasys/swift,ben-ng/swift,codestergit/swift,gottesmm/swift,airspeedswift/swift,jopamer/swift,kstaring/swift,sdulal/swift,milseman/swift,SwiftAndroid/swift,LeoShimonaka/swift,ben-ng/swift,ken0nek/swift,roambotics/swift,ahoppen/swift,natecook1000/swift,milseman/swift,benlangmuir/swift,gmilos/swift,benlangmuir/swift,jtbandes/swift,hughbe/swift,kentya6/swift,adrfer/swift,amraboelela/swift,gribozavr/swift,khizkhiz/swift,JGiola/swift,swiftix/swift,return/swift,sdulal/swift,brentdax/swift,arvedviehweger/swift,huonw/swift,swiftix/swift.old,felix91gr/swift,kentya6/swift,MukeshKumarS/Swift,stephentyrone/swift,alblue/swift,karwa/swift,xwu/swift,amraboelela/swift,OscarSwanros/swift,sdulal/swift,kstaring/swift,uasys/swift,danielmartin/swift,shajrawi/swift,allevato/swift,kstaring/swift,austinzheng/swift,CodaFi/swift,manavgabhawala/swift,uasys/swift,karwa/swift,amraboelela/swift,bitjammer/swift,uasys/swift,russbishop/swift,deyton/swift,SwiftAndroid/swift,nathawes/swift,slavapestov/swift,zisko/swift,felix91gr/swift,jtbandes/swift,atrick/swift,amraboelela/swift,gmilos/swift,parkera/swift,devincoughlin/swift,xwu/swift,lorentey/swift,KrishMunot/swift,KrishMunot/swift,khizkhiz/swift,gregomni/swift,OscarSwanros/swift,practicalswift/swift,ken0nek/swift,karwa/swift,deyton/swift,johnno1962d/swift,milseman/swift,ben-ng/swift,frootloops/swift,emilstahl/swift,CodaFi/swift,airspeedswift/swift,shahmishal/swift,mightydeveloper/swift,tjw/swift,huonw/swift,ahoppen/swift,milseman/swift,jmgc/swift,practicalswift/swift,jmgc/swift,russbishop/swift,JGiola/swift,arvedviehweger/swift,brentdax/swift,MukeshKumarS/Swift,zisko/swift,deyton/swift,rudkx/swift,aschwaighofer/swift,kusl/swift,shajrawi/swift,zisko/swift,ken0nek/swift,gottesmm/swift,sschiau/swift,russbishop/swift,hughbe/swift,xedin/swift,jmgc/swift,tinysun212/swift-windows,glessard/swift,dduan/swift,benlangmuir/swift,aschwaighofer/swift,parkera/swift,practicalswift/swift,Jnosh/swift,felix91gr/swift,practicalswift/swift,gottesmm/swift,dduan/swift,CodaFi/swift,natecook1000/swift,frootloops/swift,gribozavr/swift,alblue/swift,devincoughlin/swift,swiftix/swift.old,austinzheng/swift,ben-ng/swift,JGiola/swift,JGiola/swift,xedin/swift,IngmarStein/swift,sschiau/swift,xwu/swift,jtbandes/swift,allevato/swift,hooman/swift,ken0nek/swift,shahmishal/swift,milseman/swift,alblue/swift,rudkx/swift,hooman/swift,apple/swift,calebd/swift,CodaFi/swift,KrishMunot/swift,modocache/swift,jckarter/swift,kstaring/swift,djwbrown/swift,karwa/swift,cbrentharris/swift,xedin/swift,felix91gr/swift,roambotics/swift,kperryua/swift,sschiau/swift,jckarter/swift,zisko/swift,felix91gr/swift,djwbrown/swift,gmilos/swift,adrfer/swift,swiftix/swift,adrfer/swift,stephentyrone/swift,therealbnut/swift,ken0nek/swift,gribozavr/swift,devincoughlin/swift,KrishMunot/swift,mightydeveloper/swift,codestergit/swift,gregomni/swift,kusl/swift,aschwaighofer/swift,parkera/swift,benlangmuir/swift,danielmartin/swift,manavgabhawala/swift,khizkhiz/swift,kentya6/swift,harlanhaskins/swift,sdulal/swift,russbishop/swift,johnno1962d/swift,tkremenek/swift,brentdax/swift,slavapestov/swift,huonw/swift,kusl/swift,xedin/swift,arvedviehweger/swift,return/swift,CodaFi/swift,apple/swift,ken0nek/swift,MukeshKumarS/Swift,frootloops/swift,johnno1962d/swift,austinzheng/swift,IngmarStein/swift,practicalswift/swift,LeoShimonaka/swift,amraboelela/swift,dduan/swift,swiftix/swift,kperryua/swift,tardieu/swift,JaSpa/swift,IngmarStein/swift,mightydeveloper/swift,calebd/swift,gottesmm/swift,tkremenek/swift,shahmishal/swift,deyton/swift,LeoShimonaka/swift,dduan/swift,frootloops/swift,rudkx/swift,KrishMunot/swift,allevato/swift,apple/swift,gmilos/swift,adrfer/swift,kusl/swift,gregomni/swift,aschwaighofer/swift,airspeedswift/swift,SwiftAndroid/swift,tardieu/swift,stephentyrone/swift,slavapestov/swift,jopamer/swift,sschiau/swift,shahmishal/swift,manavgabhawala/swift,calebd/swift,karwa/swift,djwbrown/swift,natecook1000/swift,SwiftAndroid/swift,slavapestov/swift,austinzheng/swift,devincoughlin/swift