New work branch for my linker fixes.

This is based on mono/master commit 8d3b4b7ae5ec7efd0ca892c9866f1dc25347f171.