Dear Pals,
Good evening!

I have one question to consult:
my uboot is configured for MPC8xx board.   I defined a global variable and
initialize 0 ,such as "unsigned char g_debug = 0;" ,
but I found this global variable is in data section, not in bss section. I
was surprised at this problem , as I known if global variables
is initialized, it would be put in data section, and in bss section if not
initialized. but here it's not. I don't know why? could anyone help
me find the root cause?   whether it is from compiler bug or from other
optimizing options of compiler?

Thanks a lot!!!


Tim
08/22,2011
_______________________________________________
eldk mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/eldk

Reply via email to