summaryrefslogtreecommitdiff
path: root/lib/Target/X86
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-07-22 20:49:37 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-07-22 20:49:37 +0000
commit908bc862d58bdb66d22a6a58bddb4e108a64e469 (patch)
tree6745891e9ad95087fabd4d522bc5a430bfeb88bb /lib/Target/X86
parent16ec33c6ef630730ad55a4af7242c658e1efb8b3 (diff)
downloadllvm-908bc862d58bdb66d22a6a58bddb4e108a64e469.tar.gz
llvm-908bc862d58bdb66d22a6a58bddb4e108a64e469.tar.bz2
llvm-908bc862d58bdb66d22a6a58bddb4e108a64e469.tar.xz
update interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r--lib/Target/X86/X86JITInfo.cpp2
-rw-r--r--lib/Target/X86/X86JITInfo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86JITInfo.cpp b/lib/Target/X86/X86JITInfo.cpp
index 3b03308bb9..351d4bee5f 100644
--- a/lib/Target/X86/X86JITInfo.cpp
+++ b/lib/Target/X86/X86JITInfo.cpp
@@ -174,7 +174,7 @@ void *X86JITInfo::emitFunctionStub(void *Fn, MachineCodeEmitter &MCE) {
/// it must rewrite the code to contain the actual addresses of any
/// referenced global symbols.
void X86JITInfo::relocate(void *Function, MachineRelocation *MR,
- unsigned NumRelocs) {
+ unsigned NumRelocs, unsigned char* GOTBase) {
for (unsigned i = 0; i != NumRelocs; ++i, ++MR) {
void *RelocPos = (char*)Function + MR->getMachineCodeOffset();
intptr_t ResultPtr = (intptr_t)MR->getResultPointer();
diff --git a/lib/Target/X86/X86JITInfo.h b/lib/Target/X86/X86JITInfo.h
index 696d9600f7..2d2f056fe5 100644
--- a/lib/Target/X86/X86JITInfo.h
+++ b/lib/Target/X86/X86JITInfo.h
@@ -50,7 +50,7 @@ namespace llvm {
/// it must rewrite the code to contain the actual addresses of any
/// referenced global symbols.
virtual void relocate(void *Function, MachineRelocation *MR,
- unsigned NumRelocs);
+ unsigned NumRelocs, unsigned char* GOTBase);
};
}