[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9JITInfo.h SparcV9JITInfo.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Fri Jul 22 13:49:49 PDT 2005
Changes in directory llvm/lib/Target/SparcV9:
SparcV9JITInfo.h updated: 1.8 -> 1.9
SparcV9JITInfo.cpp updated: 1.2 -> 1.3
---
Log message:
update interface
---
Diffs of the changes: (+2 -2)
SparcV9JITInfo.cpp | 2 +-
SparcV9JITInfo.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/SparcV9/SparcV9JITInfo.h
diff -u llvm/lib/Target/SparcV9/SparcV9JITInfo.h:1.8 llvm/lib/Target/SparcV9/SparcV9JITInfo.h:1.9
--- llvm/lib/Target/SparcV9/SparcV9JITInfo.h:1.8 Thu Apr 21 18:25:42 2005
+++ llvm/lib/Target/SparcV9/SparcV9JITInfo.h Fri Jul 22 15:49:37 2005
@@ -55,7 +55,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);
};
}
Index: llvm/lib/Target/SparcV9/SparcV9JITInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9JITInfo.cpp:1.2 llvm/lib/Target/SparcV9/SparcV9JITInfo.cpp:1.3
--- llvm/lib/Target/SparcV9/SparcV9JITInfo.cpp:1.2 Thu Apr 21 18:25:42 2005
+++ llvm/lib/Target/SparcV9/SparcV9JITInfo.cpp Fri Jul 22 15:49:37 2005
@@ -323,7 +323,7 @@
}
void SparcV9JITInfo::relocate(void *Function, MachineRelocation *MR,
- unsigned NumRelocs) {
+ unsigned NumRelocs, unsigned char* GOTBase) {
for (unsigned i = 0; i != NumRelocs; ++i, ++MR) {
unsigned *RelocPos = (unsigned*)Function + MR->getMachineCodeOffset()/4;
intptr_t ResultPtr = (intptr_t)MR->getResultPointer();
More information about the llvm-commits
mailing list