added function do_assemble (similar to do_link) if non-null this function
authorsandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 24 Dec 2001 03:45:07 +0000 (03:45 +0000)
committersandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 24 Dec 2001 03:45:07 +0000 (03:45 +0000)
will be called to do assembly (-mTININative) requires a multi command
assembly
added function genAssemblerEnd will be called to generate assembler Epilogue

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1731 4a8a32a2-be11-0410-ad9d-d568d2c75423

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