summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2006-07-27 01:13:04 +0000
committerNate Begeman <natebegeman@mac.com>2006-07-27 01:13:04 +0000
commit787565024a4af20e1599adf3c1ca6f1451bcc679 (patch)
tree53598647c7cdbc013b61b44cc8ba4216b35d3b01 /llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
parentc169b8798fc7492f447fba6e853ae55ae799d29c (diff)
downloadbcm5719-llvm-787565024a4af20e1599adf3c1ca6f1451bcc679.tar.gz
bcm5719-llvm-787565024a4af20e1599adf3c1ca6f1451bcc679.zip
Support jump tables when in PIC relocation model
llvm-svn: 29318
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 6e75f3ceb7f..bf9c608d515 100644
--- a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -282,8 +282,8 @@ namespace {
Data64bitsDirective = 0; // we can't emit a 64-bit unit
AlignmentIsInBytes = false; // Alignment is by power of 2.
ConstantPoolSection = "\t.const\t";
- // FIXME: Conditionalize jump table section based on PIC
- JumpTableSection = ".const";
+ JumpTableDataSection = ".const";
+ JumpTableTextSection = "\t.text";
LCOMMDirective = "\t.lcomm\t";
StaticCtorsSection = ".mod_init_func";
StaticDtorsSection = ".mod_term_func";
OpenPOWER on IntegriCloud