Mercurial > hg > index.cgi
diff lwlink/script.c @ 151:3b58d76ea032
Fix up some minor thinkos in handling the module layout and header
author | lost@l-w.ca |
---|---|
date | Fri, 26 Aug 2011 23:44:44 -0600 |
parents | 08fb11004df9 |
children | c6a38fd8bd33 |
line wrap: on
line diff
--- a/lwlink/script.c Fri Aug 26 23:36:13 2011 -0600 +++ b/lwlink/script.c Fri Aug 26 23:44:44 2011 -0600 @@ -33,13 +33,15 @@ #include "lwlink.h" // the built-in OS9 script +// the 000D bit is to handle the module header! static char *os9_script = - "section code load 0000\n" + "section code load 000D\n" "section .text\n" "section data\n" "section .data\n" "section bss,bss load 0000\n" "section .bss,bss\n" + "entry __start\n" ; // the built-in DECB target linker script