]> git.gag.com Git - fw/sdcc/blobdiff - src/port.h
added function do_assemble (similar to do_link) if non-null this function
[fw/sdcc] / src / port.h
index 507f70f4711bbdd0bcde77b10462594f72d06e32..aa0fd06d4a37a7b5ba162e1dd26262b2163f7fd9 100644 (file)
@@ -79,6 +79,8 @@ typedef struct
        int externGlobal;
        /* assembler file extension */
        const char *file_ext;
+        /** If non-null will be used to execute the assembler. */
+       void (*do_assemble) (const char * const*);      
       }
     assembler;
 
@@ -199,6 +201,8 @@ typedef struct
 
     /* Write any port specific assembler output. */
     void (*genAssemblerPreamble) (FILE * of);
+      /* invoked at end assembler file */  
+    void (*genAssemblerEnd) (FILE * of);
 
     /* Write the port specific IVT. If genIVT is NULL or if
      * it returns zero, default (8051) IVT generation code