[cfe-dev] triples for baremetal

Jonathan Roelofs jonathan at codesourcery.com
Tue Jun 17 09:45:05 PDT 2014


[+llvm-dev, cfe-dev]

Was "Re: [PATCH] ARM: allow inline atomics on Cortex M"

On 6/17/14, 10:42 AM, Jonathan Roelofs wrote:
>
>
> On 6/17/14, 9:35 AM, Renato Golin wrote:
>> On 17 June 2014 16:29, Jonathan Roelofs <jonathan at codesourcery.com> wrote:
>>> Attached is what I now think the patch ought to be.
>>
>> Does unknownOS *always* mean bare-metal?
> I'm not sure. It might be a good time to fork this thread, and start another
> about triples for bare-metal...

Personally, I think we ought to add a 'None' entry to the OSType enum 
specifically for baremetal, and then map triples like arm-none-eabi and 
arm--eabi to it (but not arm-foobar-eabi, for example).

Thoughts?

Jon

>>
>> --renato
>>
>

-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded



More information about the cfe-dev mailing list