[arm-embedded] Simply enable GCC to support -march=armv6s-m as GAS does.
Richard Earnshaw (home)
richard.earnshaw@buzzard.freeserve.co.uk
Sun Sep 11 16:16:00 GMT 2011
On 11 Sep 2011, at 09:37, "Terry Guo" <terry.guo@arm.com> wrote:
> Hello Richard,
>
>>
>>> Hello,
>>>
>>> This patch adds simple support of -march=armv6s-m which is already
>> supported
>>> by GAS. With this patch, inline assembly code containing "SVC"
>> instruction
>>> can be handled by option -march=armv6s-m. Otherwise one has to use
>> option
>>> -mcpu=cortex-m0. Committed into ARM/embedded-4_6-branch.
>>>
>>> BR,
>>> Terry
>>>
>>> 2011-09-08 Terry Guo <terry.guo@arm.com>
>>>
>>> * config/arm/arm.c (all_architectures): Simple support for
>>> option -march=armv6s-m.
>>>
>>>
>>
>> Ok.
>>
>> R.
>
> Can I apply this patch to trunk and GCC 4.6 branch?
Yes, once you've done as Joseph suggests.
R.
>
> BR,
> Terry
>
>
>
>
More information about the Gcc-patches
mailing list