From 5e2bacd6be117b8bb859840eec1908e815f8db3c Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Sun, 24 Sep 2006 19:46:56 +0000 Subject: Fix jump tables to match gcc (and the ABI and whatnot) llvm-svn: 30594 --- llvm/lib/Target/Alpha/AlphaTargetMachine.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Target/Alpha/AlphaTargetMachine.cpp') diff --git a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp index 6204998b240..a1aab94d9a9 100644 --- a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp +++ b/llvm/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_); } -- cgit v1.2.3