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

Wolfgang Denk wd at denx.de
Mon Nov 6 21:29:10 CET 2006

In message <454F7A30.9030100 at freescale.com> you wrote:
> If BSS were merged into the DATA segment, then the compiler would be the one 
> that zeros BSS.  Basically, BSS would go away, and all global variables 
> (static or otherwise) would be placed into DATA.  They would be initialized to 

... and U-Boot would stop being usable on a significan percentage  of
boards simply because it does not fit any more in the available flash

There are many other ways to solve your problem with much less impact
on other boards.

I reject your suggestion. And this is a final statement.

Best regards,

Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Monday is an awful way to spend one seventh of your life.

More information about the U-Boot mailing list