
5 Oct
2009
5 Oct
'09
11:18 p.m.
Dear Peter Tyser,
In message 1254773254.24664.657.camel@localhost.localdomain you wrote:
32 bit alignment of the BSS segment might not be sufficient. Be careful!
I've tried a few ways to ensure the BSS isn't at address 0x0, and they all seem to have their shortcomings. I'm currently leaning towards doing something along the lines of the above, ie ORing 0x10 into the BSS address.
I had assumed 8 or 16 bit alignment of the BSS would be sufficient. Could you give a little background on your warning above about 32 bit alignment being insufficient?
I don't know all flavours of Power machines, but gcc seems to align "double" on 64 bit boundaries. This makes me think it might be needed.
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
"355/113 -- Not the famous irrational number PI, but an incredible
simulation!"