
6 Nov
2006
6 Nov
'06
7:56 p.m.
Jerry Van Baren wrote:
In theory, yes. In practice, I have my doubts that it is workable, let alone a better way. Writing "then the compiler would be the one that zeros BSS" is easy, actually making it work may be tricky.
It's a pretty simple linker script change, actually. Just move all of the lines within .bss {} into .data {}. Where do you see the difficulty coming from?
-Scott