aboutsummaryrefslogtreecommitdiff
path: root/backends/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'backends/plugins')
-rw-r--r--backends/plugins/elf/mips-loader.cpp2
-rw-r--r--backends/plugins/elf/mips-loader.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/plugins/elf/mips-loader.cpp b/backends/plugins/elf/mips-loader.cpp
index 75db067158..5317dbbe6d 100644
--- a/backends/plugins/elf/mips-loader.cpp
+++ b/backends/plugins/elf/mips-loader.cpp
@@ -249,7 +249,7 @@ bool MIPSDLObject::relocateRels(Elf32_Ehdr *ehdr, Elf32_Shdr *shdr) {
return true;
}
-void MIPSDLObject::relocateSymbols(Elf32_Addr offset) {
+void MIPSDLObject::relocateSymbols(ptrdiff_t offset) {
// Loop over symbols, add relocation offset
Elf32_Sym *s = _symtab;
diff --git a/backends/plugins/elf/mips-loader.h b/backends/plugins/elf/mips-loader.h
index ef6efda21f..f8f31f1e7a 100644
--- a/backends/plugins/elf/mips-loader.h
+++ b/backends/plugins/elf/mips-loader.h
@@ -41,7 +41,7 @@ protected:
virtual bool relocate(Elf32_Off offset, Elf32_Word size, byte *relSegment);
virtual bool relocateRels(Elf32_Ehdr *ehdr, Elf32_Shdr *shdr);
- virtual void relocateSymbols(Elf32_Addr offset);
+ virtual void relocateSymbols(ptrdiff_t offset);
virtual bool loadSegment(Elf32_Phdr *phdr);
virtual void unload();