From 2eb6649c5bdb6eb018a819d7a7044e0e3c09e14a Mon Sep 17 00:00:00 2001 From: sandeep Date: Mon, 24 Dec 2001 03:45:07 +0000 Subject: [PATCH] added function do_assemble (similar to do_link) if non-null this function 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/port.h b/src/port.h index 507f70f4..aa0fd06d 100644 --- a/src/port.h +++ b/src/port.h @@ -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 -- 2.30.2