make gcc wrapper support -shared correctly
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.

chardi/musl,chardi/musl,davidlazar/musl,chardi/musl,davidlazar/musl