Mercurial > hg-old > index.cgi
comparison src/lwlink.h @ 303:13272197d278
Added simplistic output module for DECB target
author | lost |
---|---|
date | Thu, 22 Jan 2009 02:05:08 +0000 |
parents | eff969272fb9 |
children |
comparison
equal
deleted
inserted
replaced
302:eff969272fb9 | 303:13272197d278 |
---|---|
74 section_t *sections; | 74 section_t *sections; |
75 int nsections; | 75 int nsections; |
76 | 76 |
77 }; | 77 }; |
78 | 78 |
79 struct section_list | |
80 { | |
81 section_t *ptr; // ptr to section structure | |
82 int forceaddr; // was this force to an address by the link script? | |
83 }; | |
84 | |
85 #ifndef __link_c_seen__ | |
86 extern struct section_list *sectlist; | |
87 extern int nsects; | |
88 #endif | |
79 | 89 |
80 | 90 |
81 #ifndef __lwlink_c_seen__ | 91 #ifndef __lwlink_c_seen__ |
82 | 92 |
83 extern int debug_level; | 93 extern int debug_level; |
107 typedef struct | 117 typedef struct |
108 { | 118 { |
109 int nlines; // number of lines in the script | 119 int nlines; // number of lines in the script |
110 struct scriptline_s *lines; // the parsed script lines (section) | 120 struct scriptline_s *lines; // the parsed script lines (section) |
111 int padsize; // the size to pad to, -1 for none | 121 int padsize; // the size to pad to, -1 for none |
122 char *execsym; // entry point symbol | |
123 int execaddr; // execution address (entry point) | |
112 } linkscript_t; | 124 } linkscript_t; |
113 | 125 |
114 #ifndef __script_c_seen__ | 126 #ifndef __script_c_seen__ |
115 extern linkscript_t linkscript; | 127 extern linkscript_t linkscript; |
116 #endif | 128 #endif |