llvm.org GIT mirror llvm / c58daa2
Merge 98205 from mainline. Work around a bug in the openbsd assembler on i386, which doesn't support .quad correctly because it is "really really old". PR6528. Yet another reason the mc assembler should take over ;-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@98309 91177308-0d34-0410-b5e6-96231b3b80d8 Tanya Lattner 10 years ago
1 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7070 AbsoluteEHSectionOffsets = false;
7171 }
7272
73 X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &Triple) {
73 X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) {
7474 AsmTransCBE = x86_asm_table;
7575 AssemblerDialect = AsmWriterFlavor;
7676
9090 // Exceptions handling
9191 ExceptionsType = ExceptionHandling::Dwarf;
9292 AbsoluteEHSectionOffsets = false;
93
94 // OpenBSD has buggy support for .quad in 32-bit mode, just split into two
95 // .words.
96 if (T.getOS() == Triple::OpenBSD && T.getArch() == Triple::x86)
97 Data64bitsDirective = 0;
9398 }
9499
95100 MCSection *X86ELFMCAsmInfo::getNonexecutableStackSection(MCContext &Ctx) const {