Mercurial > hg > index.cgi
comparison lwlink/readfiles.c @ 236:ce1fdc8d6568
Added ability to add padding after a section when linking.
Added the ability for lwlink to automatically append padding bytes to the
end of a section (once the section instances are merged). This behaviour is
controlled by the link script. See the updated documentation for more
information.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sat, 11 Aug 2012 23:29:57 -0600 |
parents | 606123758641 |
children | 221b5f58d8ad |
comparison
equal
deleted
inserted
replaced
235:e3741cf53e00 | 236:ce1fdc8d6568 |
---|---|
196 s -> localsyms = NULL; | 196 s -> localsyms = NULL; |
197 s -> exportedsyms = NULL; | 197 s -> exportedsyms = NULL; |
198 s -> incompletes = NULL; | 198 s -> incompletes = NULL; |
199 s -> processed = 0; | 199 s -> processed = 0; |
200 s -> file = fn; | 200 s -> file = fn; |
201 s -> afterbytes = NULL; | |
202 s -> aftersize = 0; | |
201 | 203 |
202 // read flags | 204 // read flags |
203 while (CURBYTE()) | 205 while (CURBYTE()) |
204 { | 206 { |
205 switch (CURBYTE()) | 207 switch (CURBYTE()) |