make gcc wrapper support -shared correctly
authorRich Felker <dalias@aerifal.cx>
Tue, 24 Jan 2012 05:22:27 +0000 (00:22 -0500)
committerRich Felker <dalias@aerifal.cx>
Tue, 24 Jan 2012 05:22:27 +0000 (00:22 -0500)
commitb768c7bc6398e297945b08dd5315cae472279a3a
treeade9cc39e97c600ff2f101ef02cef192bb4a8959
parentd0678b58ab34f9afae099afc839430bdcd91aaac
make gcc wrapper support -shared correctly

it was previously attempting to link start files as part of shared
objects. this is definitely wrong and depending on the platform and
linker could range from just adding extraneous junk to introducing
textrels to making linking fail entirely.
tools/gen-musl-gcc.sh