]> git.sur5r.net Git - cc65/blobdiff - src/ld65/main.c
Use a string pool to reduce the memory footprint
[cc65] / src / ld65 / main.c
index 0024fef17e8373180edac705a96a8032ad4cd321..c92d96a54cf60e6a36652fddd01175b5d2b463a0 100644 (file)
@@ -62,6 +62,7 @@
 #include "objfile.h"
 #include "scanner.h"
 #include "segments.h"
+#include "spool.h"
 #include "tgtcfg.h"
 
 
@@ -404,6 +405,9 @@ int main (int argc, char* argv [])
     /* Initialize the input file search paths */
     InitSearchPaths ();
 
+    /* Initialize the string pool */
+    InitStrPool ();
+
     /* Check the parameters */
     I = 1;
     while (I < ArgCount) {