aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-09-24 19:46:56 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-09-24 19:46:56 +0000
commit0607a2f554d1f8daa68c2cc8486cec0886232fbb (patch)
tree80ab88725b8648c628642885b6c22993694dff84 /lib/Target/Alpha/AlphaTargetAsmInfo.cpp
parentbeec30eaf301bd6882cd06800b5175b94f033f9d (diff)
Fix jump tables to match gcc (and the ABI and whatnot)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30594 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaTargetAsmInfo.cpp')
-rw-r--r--lib/Target/Alpha/AlphaTargetAsmInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
index fd77b87f2d..ed8f6cbe4a 100644
--- a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
+++ b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
@@ -18,4 +18,6 @@ using namespace llvm;
AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM) {
AlignmentIsInBytes = false;
PrivateGlobalPrefix = "$";
+ JumpTableDirective = ".gprel32";
+ JumpTableTextSection = "\t.section .rodata\n";
}