comparison lwlink/trunk/src/script.c @ 124:4ac96c697ef0

Corrected errors with parsing script and object files
author lost
date Fri, 23 Jan 2009 04:03:37 +0000
parents 7bc853cb2ca9
children f9bfc2986023
comparison
equal deleted inserted replaced
123:6084a3859fb4 124:4ac96c697ef0
33 #include "lwlink.h" 33 #include "lwlink.h"
34 #include "util.h" 34 #include "util.h"
35 35
36 // the built-in DECB target linker script 36 // the built-in DECB target linker script
37 static char *decb_script = 37 static char *decb_script =
38 "section init load at 2000\n" 38 "section init load 2000\n"
39 "section code\n" 39 "section code\n"
40 "section *,!bss\n" 40 "section *,!bss\n"
41 "section *,bss\n" 41 "section *,bss\n"
42 "entry 2000\n" 42 "entry 2000\n"
43 ; 43 ;
44 44
45 // the built-in RAW target linker script 45 // the built-in RAW target linker script
46 static char *raw_script = 46 static char *raw_script =
47 "section init load at 0000\n" 47 "section init load 0000\n"
48 "section code\n" 48 "section code\n"
49 "section *,!bss\n" 49 "section *,!bss\n"
50 "section *,bss\n" 50 "section *,bss\n"
51 ; 51 ;
52 52