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

2011-09-18 Thread Bin Cheng
Thursday, September 15, 2011 6:46 PM > To: Bin Cheng > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [ARM] pass "--be8" to linker when linking for M profile > > On 15/09/11 03:41, Bin Cheng wrote: > > Hi, > > The linker should do endian swizzling at link-time according

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

2011-09-16 Thread Bin Cheng
Thursday, September 15, 2011 6:46 PM > To: Bin Cheng > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [ARM] pass "--be8" to linker when linking for M profile > > On 15/09/11 03:41, Bin Cheng wrote: > > Hi, > > The linker should do endian swizzling at link-time according

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

2011-09-15 Thread Richard Earnshaw
On 15/09/11 03:41, Bin Cheng wrote: > 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 >

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

2011-09-14 Thread Bin Cheng
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 Che