[solved] Re: gcc-4.3.3 arm-linux-gnueabi pointer to packed struct field align problem

john.philip@uhssystems.com john.philip@uhssystems.com
Thu Mar 12 05:59:00 GMT 2009


just needed to ask right person

john.philip@uhssystems.com writes:

] - is use of pointer to struct fields (@ [1]) non-portable?

yes. because of diff alignment restrictions on diff CPUs

for ways to find such code, or even do see-no-evil & have linux kernel
fix them at run time, see http://wiki.debian.org/ArmEabiFixes &
http://lecs.cs.ucla.edu/wiki/index.php/XScale_alignment
-- 



More information about the Gcc-help mailing list