From: Wolfgang Denk Date: Tue, 06 Oct 2009 19:52:54 +0200 Subject: [U-Boot] [PATCH] relocation: Do not relocate NULL pointers. In-Reply-To: <20091006171203.GA10244@b07421-ec1.am.freescale.net> References: <1253706706-30364-1-git-send-email-Joakim.Tjernlund@transmode.se> <1253708271.3968.11.camel@ptyser-laptop> <1253710639.3968.19.camel@ptyser-laptop> <20090923182314.1B317832E864@gemini.denx.de> <1254773254.24664.657.camel@localhost.localdomain> <20091005211811.369681005161@gemini.denx.de> <20091006171203.GA10244@b07421-ec1.am.freescale.net> Message-ID: <20091006175254.7A853F15B3E@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Scott Wood, In message <20091006171203.GA10244@b07421-ec1.am.freescale.net> you wrote: > > > 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. > > Plus, explicit alignment (cacheline, page, some DMA alignment > restriction, etc) could have been requested on something in the BSS. I'd > keep it at least page-aligned if possible. We have no notation of "pages" in U-Boot. Linker scripts typically use 256 byte alignment as the most strict requriement, and this is randomly chosen, either. I guess cache line size would do just fine (and even this is probably overkill). 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 at denx.de They say, well, meybe it _is_ smelly, maybe it _is_ overcrowded, may- be it _is_ a bit like Hell would be if they shut the fires off and stabled a herd of incontinent cows there for a year, but you must admit that it is full of sheer, vibrant, dynamic _life_. - Terry Pratchett, _Moving Pictures_