More tweaks to the .ld generation.