diff lwlink/lwlink.h @ 148:08fb11004df9

Initial pass at OS9 module support for lwlink
author lost@l-w.ca
date Fri, 26 Aug 2011 23:26:00 -0600
parents 2c24602be78f
children fc8386b13399
line wrap: on
line diff
--- a/lwlink/lwlink.h	Thu Aug 25 22:29:58 2011 -0600
+++ b/lwlink/lwlink.h	Fri Aug 26 23:26:00 2011 -0600
@@ -29,6 +29,7 @@
 #define OUTPUT_DECB		0	// DECB multirecord format
 #define OUTPUT_RAW		1	// raw sequence of bytes
 #define OUTPUT_LWEX0	2	// LWOS LWEX binary version 0
+#define OUTPUT_OS9		3	// OS9 object code module
 
 typedef struct symtab_s symtab_t;
 struct symtab_s
@@ -147,6 +148,11 @@
 	char *execsym;				// entry point symbol
 	int execaddr;				// execution address (entry point)
 	int stacksize;				// stack size
+	int modtype;				// module type
+	int modlang;				// module language
+	int modattr;				// module attributes
+	int modrev;					// module revision
+	char *name;					// module name
 } linkscript_t;
 
 #ifndef __script_c_seen__