On Sat, 22 Feb 2014 13:17:50 +0100, Albert ARIBAUD <[email protected]> wrote:
> Code which traps with -munaligned-access and SRC.A set is code which > is not correct, since the native unaligned access which was trapped > reflects an unaligned access within the C source code, which is not > allowed as per C99. If that access had been performed through get_ or > put_unaligned, then the code would be conformant and wouldn't trap. To be more exact: ... then all accesses in the code would be conformant and wouldn't trap (the code as a whole would quite probably still not be conformant because of the way the unaligned access would be rewritten into aligned accesses by the get/put_unaligned macro). Amicalement, -- Albert. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

