From: Chris Lattner Date: Thu, 5 Oct 2006 03:13:59 +0000 (+0000) Subject: Don't bother setting JumpTableTextSection, it is about to disappear X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a66ba5f70ba15370fd68a84ccaf220d60f7d1b95;p=oota-llvm.git Don't bother setting JumpTableTextSection, it is about to disappear git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30745 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp index ed8f6cbe4aa..f9e4c4e67f2 100644 --- a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp +++ b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp @@ -19,5 +19,4 @@ AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM) { AlignmentIsInBytes = false; PrivateGlobalPrefix = "$"; JumpTableDirective = ".gprel32"; - JumpTableTextSection = "\t.section .rodata\n"; } diff --git a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp index 02ba912fbf4..6615add963a 100644 --- a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp +++ b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp @@ -28,7 +28,6 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const PPCTargetMachine &TM) { AlignmentIsInBytes = false; ConstantPoolSection = "\t.const\t"; JumpTableDataSection = ".const"; - JumpTableTextSection = "\t.text"; LCOMMDirective = "\t.lcomm\t"; StaticCtorsSection = ".mod_init_func"; StaticDtorsSection = ".mod_term_func"; diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp index 3aa29996014..79c064c3716 100644 --- a/lib/Target/TargetAsmInfo.cpp +++ b/lib/Target/TargetAsmInfo.cpp @@ -46,7 +46,6 @@ TargetAsmInfo::TargetAsmInfo() : SectionEndDirectiveSuffix(0), ConstantPoolSection("\t.section .rodata\n"), JumpTableDataSection("\t.section .rodata\n"), - JumpTableTextSection("\t.text\n"), JumpTableDirective(0), StaticCtorsSection("\t.section .ctors,\"aw\",@progbits"), StaticDtorsSection("\t.section .dtors,\"aw\",@progbits"),