diff options
| author | Eric Christopher <echristo@apple.com> | 2012-08-06 20:52:18 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2012-08-06 20:52:18 +0000 |
| commit | 22738d00a30670d5227b47fe2b34d044cebd481c (patch) | |
| tree | a9e31e9aa0be3f16ab53b67cbf51103467478870 /llvm/lib/Target | |
| parent | b9ddbd3daa318f38266ea8c4b0786073911615ed (diff) | |
| download | bcm5719-llvm-22738d00a30670d5227b47fe2b34d044cebd481c.tar.gz bcm5719-llvm-22738d00a30670d5227b47fe2b34d044cebd481c.zip | |
Add support for the OpenBSD for Bitrig.
Patch by David Hill.
llvm-svn: 161344
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp b/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp index 49c07f3b372..b0acd7d5a10 100644 --- a/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp +++ b/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp @@ -91,9 +91,10 @@ X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) { // Exceptions handling ExceptionsType = ExceptionHandling::DwarfCFI; - // OpenBSD has buggy support for .quad in 32-bit mode, just split into two - // .words. - if (T.getOS() == Triple::OpenBSD && T.getArch() == Triple::x86) + // 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) Data64bitsDirective = 0; } |

