This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
[solved] Re: gcc-4.3.3 arm-linux-gnueabi pointer to packed struct field align problem
- From: john dot philip at uhssystems dot com
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 12 Mar 2009 16:59:16 +1100
- Subject: [solved] Re: gcc-4.3.3 arm-linux-gnueabi pointer to packed struct field align problem
- References: <pc5bps7zfd2.fsf@uhssystems.com>
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
--