[llvm-commits] CVS: llvm/lib/Target/X86/X86JITInfo.cpp X86JITInfo.h

Andrew Lenharth alenhar2 at cs.uiuc.edu
Fri Jul 22 13:49:49 PDT 2005



Changes in directory llvm/lib/Target/X86:

X86JITInfo.cpp updated: 1.13 -> 1.14
X86JITInfo.h updated: 1.5 -> 1.6
---
Log message:

update interface

---
Diffs of the changes:  (+2 -2)

 X86JITInfo.cpp |    2 +-
 X86JITInfo.h   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/X86/X86JITInfo.cpp
diff -u llvm/lib/Target/X86/X86JITInfo.cpp:1.13 llvm/lib/Target/X86/X86JITInfo.cpp:1.14
--- llvm/lib/Target/X86/X86JITInfo.cpp:1.13	Tue Jun  7 20:02:38 2005
+++ llvm/lib/Target/X86/X86JITInfo.cpp	Fri Jul 22 15:49:37 2005
@@ -174,7 +174,7 @@
 /// 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();


Index: llvm/lib/Target/X86/X86JITInfo.h
diff -u llvm/lib/Target/X86/X86JITInfo.h:1.5 llvm/lib/Target/X86/X86JITInfo.h:1.6
--- llvm/lib/Target/X86/X86JITInfo.h:1.5	Thu Apr 21 18:38:14 2005
+++ llvm/lib/Target/X86/X86JITInfo.h	Fri Jul 22 15:49:37 2005
@@ -50,7 +50,7 @@
     /// 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);
   };
 }
 






More information about the llvm-commits mailing list