[MERGE] Merged all remaining changes between trunk and xscale big-endian branch.