diff options
| author | Nate Begeman <natebegeman@mac.com> | 2006-07-27 01:13:04 +0000 |
|---|---|---|
| committer | Nate Begeman <natebegeman@mac.com> | 2006-07-27 01:13:04 +0000 |
| commit | 2f1ae88445c696a9b9d61e14747ba721190cdc99 (patch) | |
| tree | 6570b0e6e190b959a613b0d01901a8141eb5cc00 /lib/Target/PowerPC/PPCAsmPrinter.cpp | |
| parent | 30ffe1b7765066300cebfdb29f5676feb7e5d329 (diff) | |
Support jump tables when in PIC relocation model
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCAsmPrinter.cpp')
| -rw-r--r-- | lib/Target/PowerPC/PPCAsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp index 6e75f3ceb7..bf9c608d51 100644 --- a/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/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"; |
