Fix to startup code and linkscript.