[U-Boot] [PATCH v3 12/21] sandbox: Force command sections to be 4-byte aligned

Mike Frysinger vapier at gentoo.org
Mon Oct 3 21:34:53 CEST 2011


On Monday, September 26, 2011 20:10:46 Simon Glass wrote:
> By default sections are 16-byte aligned on some architectures, but the
> command name structure (struct cmd_tbl_s) does not have padding to
> 16 bytes. This change reduces the alignment to 4-bytes so that the command
> table can be accessed correctly on any architecture.

where is this coming from ?  why does it need to be 4 byte ?  could you 
elaborate on the issue you ran into ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111003/e60627ee/attachment.pgp 


More information about the U-Boot mailing list