On Mar 18, 2011, at 2:06 AM, James Orr wrote:

> On Mar 17, 2011, at 5:04 PM, James Orr wrote:
> 
>> Hi,
>> 
>> Currently clang supports the cortex-m3 cpu and gcc-llvm supports this and 
>> cortex-m0. In order to maintain parity between clang and gcc-llvm this patch 
>> adds support for the cortex-m0.
>> 
>> Was able to compile firmware and it ran successfully.
>> 
>> -arch armv6 -mcpu=cortex-m0 -mthumb
>> 
>> -James
>> 
> 
> The previous patch was sending the triple "thumb-apple-darwin10.0.0".
> 
> Updated it to use: "thumbv6m-apple-darwin10.0.0" for Cortex-M0 and 
> "thumbv7m-apple-darwin10.0.0" for Cortex-M3.
> 
> These are the same arch part of the triples as used by llvm-gcc.

Thanks, James.  I commited your patch in r128018.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to