Hi, The linker should do endian swizzling at link-time according to "--be8" option. This patch modifies BE8_LINK_SPEC by adding cortex-m processors in the specs string.
Since R-profile supports configurable big-endian instruction fetch, I didn't include it here. Is it ok? Thanks. 2011-09-15 Cheng Bin <bin.ch...@arm.com> * config/arm/bpabi.h (BE8_LINK_SPEC): add cortex-m arch and processors. Thanks-chengbin
gcc-be8-for-m-profile.patch
Description: Binary data