Arm packing

Philip Blundell philb@gnu.org
Thu Oct 26 12:03:00 GMT 2000


>Is this a arm compiler (armv4l-unknown-linux-gnu) bug?

No, it's a feature.  The ARM ABI says that structures are always aligned to a 
multiple of 32 bits; in order for arrays of structs to work out this implies 
that they have to be a multiple of 32 bits in size as well.

p.




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list