DS800C400 fun, improved ROM interface and tinibios
[fw/sdcc] / src / SDCCglue.c
index c317fffcbece14dc441cfde531d84bf06d7c8e52..7d7cda458072f8696311a3439d7de74f7b009a29 100644 (file)
@@ -1668,6 +1668,13 @@ glue (void)
   fprintf (asmFile, "%s", iComments2);
   copyFile (asmFile, xidata->oFile);
 
+  /* If the port wants to generate any extra areas, let it do so. */
+  if (port->extraAreas.genExtraAreaDeclaration)
+  {
+      port->extraAreas.genExtraAreaDeclaration(asmFile, 
+                                              mainf && IFFUNC_HASBODY(mainf->type));
+  }
+    
   /* copy the interrupt vector table */
   if (mainf && IFFUNC_HASBODY(mainf->type))
     {