diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2006-10-11 04:29:42 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-10-11 04:29:42 +0000 |
commit | a6bbf33cbfb2d5c9b5e0c729db7dd83599c8ee2d (patch) | |
tree | 6bca0fc0d5bd355ccc234b37b21c517febbe2fe1 /llvm/lib/Target/Alpha/AlphaTargetMachine.cpp | |
parent | 9f86f7c2ab9a775661fdcb4c3de6148abfd461ae (diff) | |
download | bcm5719-llvm-a6bbf33cbfb2d5c9b5e0c729db7dd83599c8ee2d.tar.gz bcm5719-llvm-a6bbf33cbfb2d5c9b5e0c729db7dd83599c8ee2d.zip |
Jimptables working again on alpha.
As a bonus, use the GOT node instead of the AlphaISD::GOT for internal stuff.
llvm-svn: 30873
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaTargetMachine.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp index a1aab94d9a9..2ad0d670920 100644 --- a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp +++ b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp @@ -58,7 +58,8 @@ AlphaTargetMachine::AlphaTargetMachine(const Module &M, const std::string &FS) : DataLayout("e"), FrameInfo(TargetFrameInfo::StackGrowsDown, 16, 0), JITInfo(*this), - Subtarget(M, FS) { + Subtarget(M, FS), + TLInfo(*this) { setRelocationModel(Reloc::PIC_); } |