got rid of platdef.c; compiler now always does linking step

This commit is contained in:
rumpf_a@web.de 2009-12-20 12:43:28 +01:00
commit f56816def0
12 changed files with 39 additions and 51 deletions

View file

@ -704,8 +704,7 @@ proc getInitName(m: PSym): PRope =
result = ropeff("$1Init", "@$1Init", [toRope(m.name.s)])
proc registerModuleToMain(m: PSym) =
var initname: PRope
initname = getInitName(m)
var initname = getInitName(m)
appff(mainModProcs, "N_NOINLINE(void, $1)(void);$n",
"declare void $1() noinline$n", [initname])
if not (sfSystemModule in m.flags):