aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Heider2010-09-05 21:59:29 +0000
committerAndre Heider2010-09-05 21:59:29 +0000
commita4c9de25e62c02c0f3920c4bc568f69a01b2deaa (patch)
treee8162bcd6068deffe9c58086ab66d21012009eed
parenta318934e45ffc145a8219c16dcd4b7d060e10c8e (diff)
downloadscummvm-rg350-a4c9de25e62c02c0f3920c4bc568f69a01b2deaa.tar.gz
scummvm-rg350-a4c9de25e62c02c0f3920c4bc568f69a01b2deaa.tar.bz2
scummvm-rg350-a4c9de25e62c02c0f3920c4bc568f69a01b2deaa.zip
PLUGINS: Move doxygen to the base class header.
No point in documenting it on every derived class. svn-id: r52574
-rw-r--r--backends/plugins/elf/arm-loader.cpp7
-rw-r--r--backends/plugins/elf/elf-loader.h8
-rw-r--r--backends/plugins/elf/mips-loader.cpp7
3 files changed, 8 insertions, 14 deletions
diff --git a/backends/plugins/elf/arm-loader.cpp b/backends/plugins/elf/arm-loader.cpp
index 6aac5b5e78..388723eafb 100644
--- a/backends/plugins/elf/arm-loader.cpp
+++ b/backends/plugins/elf/arm-loader.cpp
@@ -30,13 +30,6 @@
#include "common/debug.h"
-/**
- * Follow the instruction of a relocation section.
- *
- * @param fileOffset Offset into the File
- * @param size Size of relocation section
- * @param relSegment Base address of relocated segment in memory (memory offset)
- */
bool ARMDLObject::relocate(Elf32_Off offset, Elf32_Word size, byte *relSegment) {
Elf32_Rel *rel = 0; //relocation entry
diff --git a/backends/plugins/elf/elf-loader.h b/backends/plugins/elf/elf-loader.h
index d31f678241..ac190327f7 100644
--- a/backends/plugins/elf/elf-loader.h
+++ b/backends/plugins/elf/elf-loader.h
@@ -70,6 +70,14 @@ protected:
virtual void relocateSymbols(ptrdiff_t offset);
// architecture specific
+
+ /**
+ * Follow the instruction of a relocation section.
+ *
+ * @param fileOffset Offset into the File
+ * @param size Size of relocation section
+ * @param relSegment Base address of relocated segment in memory (memory offset)
+ */
virtual bool relocate(Elf32_Off offset, Elf32_Word size, byte *relSegment) = 0;
virtual bool relocateRels(Elf32_Ehdr *ehdr, Elf32_Shdr *shdr) = 0;
diff --git a/backends/plugins/elf/mips-loader.cpp b/backends/plugins/elf/mips-loader.cpp
index 46f2ad08b0..6ad608556e 100644
--- a/backends/plugins/elf/mips-loader.cpp
+++ b/backends/plugins/elf/mips-loader.cpp
@@ -31,13 +31,6 @@
#define DEBUG_NUM 2
-/**
- * Follow the instruction of a relocation section.
- *
- * @param fileOffset Offset into the File
- * @param size Size of relocation section
- * @param relSegment Base address of relocated segment in memory (memory offset)
- */
bool MIPSDLObject::relocate(Elf32_Off offset, Elf32_Word size, byte *relSegment) {
Elf32_Rel *rel = 0; // relocation entry