Mercurial > hg-old > index.cgi
diff 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 |
line wrap: on
line diff
--- a/src/lwlink.h Wed Jan 21 06:14:08 2009 +0000 +++ b/src/lwlink.h Thu Jan 22 02:05:08 2009 +0000 @@ -76,6 +76,16 @@ }; +struct section_list +{ + section_t *ptr; // ptr to section structure + int forceaddr; // was this force to an address by the link script? +}; + +#ifndef __link_c_seen__ +extern struct section_list *sectlist; +extern int nsects; +#endif #ifndef __lwlink_c_seen__ @@ -109,6 +119,8 @@ int nlines; // number of lines in the script struct scriptline_s *lines; // the parsed script lines (section) int padsize; // the size to pad to, -1 for none + char *execsym; // entry point symbol + int execaddr; // execution address (entry point) } linkscript_t; #ifndef __script_c_seen__