[PATCH] Update i386 .quad workaround for OpenBSD/FreeBSD
Brad Smith
brad at comstyle.com
Fri Jan 2 19:32:30 PST 2015
Update the .quad workaround for i386 to disable the workaround for OpenBSD
but add FreeBSD as their binutils still contains the bug.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------- next part --------------
Index: lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
===================================================================
--- lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp (revision 225109)
+++ lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp (working copy)
@@ -108,9 +108,9 @@
// Exceptions handling
ExceptionsType = ExceptionHandling::DwarfCFI;
- // OpenBSD and Bitrig have buggy support for .quad in 32-bit mode, just split
+ // FreeBSD and Bitrig have buggy support for .quad in 32-bit mode, just split
// into two .words.
- if ((T.isOSOpenBSD() || T.isOSBitrig()) && T.getArch() == Triple::x86)
+ if ((T.isOSFreeBSD() || T.isOSBitrig()) && T.getArch() == Triple::x86)
Data64bitsDirective = nullptr;
// Always enable the integrated assembler by default.
More information about the llvm-commits
mailing list