
19 Jun
2008
19 Jun
'08
10:52 p.m.
In message 485AC5C5.5080709@freescale.com you wrote:
I did say that. Simply making the global variable not static caused it to fail.
Ummm... I guess there must be more than one variable in U-Boot, as there are several source files and several board configurations.
Also, there are several tool chains being used.
You provide NONE of that *essential* information.
Works:
static struct __attribute__ ((__packed__)) eeprom {
Doesn't work:
struct __attribute__ ((__packed__)) eeprom {
Everything else is the same.
What is "same"? Which source file is this? Which line? Which board? Which compiler from which distro? Which binutils?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
It is undignified for a woman to play servant to a man who is not
hers.
-- Spock, "Amok Time", stardate 3372.7