[llvm-commits] [PATCH] Add support for Bitrig, an OpenBSD fork.

Eric Christopher echristo at apple.com
Mon Aug 6 10:46:04 PDT 2012


On Aug 6, 2012, at 9:20 AM, David Hill <dhill at mindcry.org> wrote:

> 
> On Sat, Aug 04, 2012 at 09:22:40AM -0400, David Hill wrote:
>> On Wed, Aug 01, 2012 at 05:05:22PM -0700, Eli Friedman wrote:
>>> On Wed, Aug 1, 2012 at 7:30 AM, David Hill <dhill at mindcry.org> wrote:
>>>> Hello,
>>>> 
>>>> The attached patch allows LLVM to recognize Bitrig, an OpenBSD fork.
>>>> Clang bits to come after this has been accepted.
>>>> 
>>>> Please review.
>>> 
>>> I can't really review the autoconf changes.
>>> 
>>> +  // OpenBSD and Bitrig have buggy support for .quad in 32-bit mode, just split
>>> +  // into two .words.
>>> +  if ((T.getOS() == Triple::OpenBSD || T.getOS() == Triple::Bitrig) &&
>>> +       T.getArch() == Triple::x86)
>>> 
>>> Does Bitrig actually have this bug?  If so, why don't you just fix it?
>>> 
>>> -Eli
>> 
>> Ping
>> 
> 
> Any objections to this going in?

Seems like not, send me an up to date patch and I'll commit it.

-eric



More information about the llvm-commits mailing list