[llvm-commits] [PATCH] Add support for Bitrig, an OpenBSD fork.
David Hill
dhill at mindcry.org
Wed Aug 1 19:36:10 PDT 2012
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
Yes, it currently does as Bitrig still uses binutils 2.15. Active work
is happening to upgrade binutils.
- David
More information about the llvm-commits
mailing list