diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2006-09-24 19:46:56 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-09-24 19:46:56 +0000 |
commit | 0607a2f554d1f8daa68c2cc8486cec0886232fbb (patch) | |
tree | 80ab88725b8648c628642885b6c22993694dff84 /lib/Target/Alpha/AlphaTargetMachine.cpp | |
parent | beec30eaf301bd6882cd06800b5175b94f033f9d (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/AlphaTargetMachine.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaTargetMachine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Alpha/AlphaTargetMachine.cpp b/lib/Target/Alpha/AlphaTargetMachine.cpp index 6204998b24..a1aab94d9a 100644 --- a/lib/Target/Alpha/AlphaTargetMachine.cpp +++ b/lib/Target/Alpha/AlphaTargetMachine.cpp @@ -59,6 +59,7 @@ AlphaTargetMachine::AlphaTargetMachine(const Module &M, const std::string &FS) FrameInfo(TargetFrameInfo::StackGrowsDown, 16, 0), JITInfo(*this), Subtarget(M, FS) { + setRelocationModel(Reloc::PIC_); } |