
4 Nov
2006
4 Nov
'06
2:38 a.m.
Wolfgang Denk wrote:
Since you complained about a problem where I could not see any (at least none that was not clearly documented) I was not sure if your expectation of "global" was correct, i. e. if you were aware of the differences between "global" on file level versus "global" in the meaning of "external" to the linker.
I was aware, I just didn't think it mattered for the issue that I was seeing.
Then you must make sure that even zero-initialized data don't get placed in bss, and your approach was correct.
What about modifying the linker script so that all of bss is merged into the image, i.e. treat it like 'data'?