diff lwlink/script.c @ 262:7de7b14ebaee

Add support for os9 module edition byte Add support for the symbol "edition" in the __os9 section which defines the module edition byte which follows immedately after the module name in the module. It defaults to not setting one.
author William Astle <lost@l-w.ca>
date Mon, 04 Feb 2013 21:03:59 -0700
parents ebda5c96665e
children 86eb8814a05c
line wrap: on
line diff
--- a/lwlink/script.c	Mon Feb 04 20:51:55 2013 -0700
+++ b/lwlink/script.c	Mon Feb 04 21:03:59 2013 -0700
@@ -189,6 +189,7 @@
 		linkscript.modlang = 0x01;
 		linkscript.modattr = 0x08;
 		linkscript.modrev = 0x00;
+		linkscript.edition = -1;
 		linkscript.name = NULL;
 	}