On Mon, 9 Mar 2015, John Ballance wrote:
> Hi Theo
> Classic example is firefox2. If alignment exceptions are enabled it aborts very early in startup with a ldr from an non word aligned
> address. Gcc arm seems to default to enabling non alignment for armv7, which is bad news for the imx6. Hence my thwarted attempts to
> rebuild ff2
> Cheers
> John
-mno-unaligned-access is the option you want. They changed the defaults in
GCC 4.7 to allow unaligned loads/stores when building for ARMv6+.
Cheers,
- Jeffrey
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment