[U-Boot-Users] Why are some global vars part of the image, and some not?

Scott Wood scottwood at freescale.com
Mon Nov 6 19:56:11 CET 2006


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




More information about the U-Boot mailing list