comparison 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
comparison
equal deleted inserted replaced
261:f45b2a68c3da 262:7de7b14ebaee
187 { 187 {
188 linkscript.modtype = 0x01; 188 linkscript.modtype = 0x01;
189 linkscript.modlang = 0x01; 189 linkscript.modlang = 0x01;
190 linkscript.modattr = 0x08; 190 linkscript.modattr = 0x08;
191 linkscript.modrev = 0x00; 191 linkscript.modrev = 0x00;
192 linkscript.edition = -1;
192 linkscript.name = NULL; 193 linkscript.name = NULL;
193 } 194 }
194 195
195 oscript = script; 196 oscript = script;
196 // now parse the script file 197 // now parse the script file