[ARM] pass "--be8" to linker when linking for M profile

Bin Cheng bin.cheng@arm.com
Thu Sep 15 10:23:00 GMT 2011


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.cheng@arm.com>
                * config/arm/bpabi.h (BE8_LINK_SPEC): add cortex-m arch and
processors.

Thanks-chengbin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-be8-for-m-profile.patch
Type: application/octet-stream
Size: 804 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110915/521b6ffe/attachment.obj>


More information about the Gcc-patches mailing list