[U-Boot] __attribute__((__packed__)) switching to byte-access on ARM

Guennadi Liakhovetski lg at denx.de
Mon Aug 11 21:41:44 CEST 2008


On Mon, 11 Aug 2008, Guennadi Liakhovetski wrote:

> but this doesn't change a thing, I checked it too. Even this
> 
> } __attribute__((__packed__,aligned(4)));
> 
> doesn't help.

Sorry, this last statement is wrong, adding aligned(4) does help.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.

DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de



More information about the U-Boot mailing list