Separated premain.s since weak linkage is causing problems.