This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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
-- 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]