diff options
author | Willem Jan Palenstijn | 2013-04-18 23:34:29 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:39:44 +0200 |
commit | 01f3f3a8dd0ad2891939d03b0ce47cbf36ea9bc6 (patch) | |
tree | 544b07f3aa41abe7907bcd2040cdad11ebc324bb /backends/plugins | |
parent | 9cf2c83e5e5a35816ab153bf8443dac691829ea8 (diff) | |
parent | a41d72a44a660c72fdadbc3a8ef580e5e03cb890 (diff) | |
download | scummvm-rg350-01f3f3a8dd0ad2891939d03b0ce47cbf36ea9bc6.tar.gz scummvm-rg350-01f3f3a8dd0ad2891939d03b0ce47cbf36ea9bc6.tar.bz2 scummvm-rg350-01f3f3a8dd0ad2891939d03b0ce47cbf36ea9bc6.zip |
Merge branch 'master'
Diffstat (limited to 'backends/plugins')
24 files changed, 4 insertions, 25 deletions
diff --git a/backends/plugins/ds/ds-provider.cpp b/backends/plugins/ds/ds-provider.cpp index ff4cbe5f96..21ec157e5f 100644 --- a/backends/plugins/ds/ds-provider.cpp +++ b/backends/plugins/ds/ds-provider.cpp @@ -43,4 +43,3 @@ Plugin *DSPluginProvider::createPlugin(const Common::FSNode &node) const { } #endif // defined(DYNAMIC_MODULES) && defined(__DS__) - diff --git a/backends/plugins/ds/ds-provider.h b/backends/plugins/ds/ds-provider.h index df8307a52d..1d806a03bd 100644 --- a/backends/plugins/ds/ds-provider.h +++ b/backends/plugins/ds/ds-provider.h @@ -35,4 +35,3 @@ public: #endif // BACKENDS_PLUGINS_DS_PROVIDER_H #endif // defined(DYNAMIC_MODULES) && defined(__DS__) - diff --git a/backends/plugins/elf/arm-loader.cpp b/backends/plugins/elf/arm-loader.cpp index 12204ef68f..f8deac9c88 100644 --- a/backends/plugins/elf/arm-loader.cpp +++ b/backends/plugins/elf/arm-loader.cpp @@ -127,4 +127,3 @@ bool ARMDLObject::relocateRels(Elf32_Ehdr *ehdr, Elf32_Shdr *shdr) { } #endif /* defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) && defined(ARM_TARGET) */ - diff --git a/backends/plugins/elf/arm-loader.h b/backends/plugins/elf/arm-loader.h index 60bc4f8720..598517d2ef 100644 --- a/backends/plugins/elf/arm-loader.h +++ b/backends/plugins/elf/arm-loader.h @@ -38,4 +38,3 @@ protected: #endif /* defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) && defined(ARM_TARGET) */ #endif /* BACKENDS_PLUGINS_ARM_LOADER_H */ - diff --git a/backends/plugins/elf/elf-loader.cpp b/backends/plugins/elf/elf-loader.cpp index 4335ea6108..d75010196a 100644 --- a/backends/plugins/elf/elf-loader.cpp +++ b/backends/plugins/elf/elf-loader.cpp @@ -489,4 +489,3 @@ void *DLObject::symbol(const char *name) { } #endif /* defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) */ - diff --git a/backends/plugins/elf/elf-loader.h b/backends/plugins/elf/elf-loader.h index a953507631..58cc7714cf 100644 --- a/backends/plugins/elf/elf-loader.h +++ b/backends/plugins/elf/elf-loader.h @@ -102,4 +102,3 @@ public: #endif /* defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) */ #endif /* BACKENDS_PLUGINS_ELF_LOADER_H */ - diff --git a/backends/plugins/elf/elf-provider.cpp b/backends/plugins/elf/elf-provider.cpp index 84054f44cb..f637596d8d 100644 --- a/backends/plugins/elf/elf-provider.cpp +++ b/backends/plugins/elf/elf-provider.cpp @@ -207,4 +207,3 @@ bool ELFPluginProvider::isPluginFilename(const Common::FSNode &node) const { } #endif // defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) - diff --git a/backends/plugins/elf/elf-provider.h b/backends/plugins/elf/elf-provider.h index 62ea930829..a966f371f6 100644 --- a/backends/plugins/elf/elf-provider.h +++ b/backends/plugins/elf/elf-provider.h @@ -92,4 +92,3 @@ protected: #endif // defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) #endif /* BACKENDS_PLUGINS_ELF_PROVIDER_H */ - diff --git a/backends/plugins/elf/elf32.h b/backends/plugins/elf/elf32.h index aecedf5a37..1ecc68a8f0 100644 --- a/backends/plugins/elf/elf32.h +++ b/backends/plugins/elf/elf32.h @@ -246,4 +246,3 @@ typedef struct { #endif // defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) #endif /* BACKENDS_ELF_H */ - diff --git a/backends/plugins/elf/memory-manager.cpp b/backends/plugins/elf/memory-manager.cpp index 02669b3647..47b77a3ec2 100644 --- a/backends/plugins/elf/memory-manager.cpp +++ b/backends/plugins/elf/memory-manager.cpp @@ -29,7 +29,9 @@ #include "common/util.h" #include <malloc.h> +namespace Common { DECLARE_SINGLETON(ELFMemoryManager); +} ELFMemoryManager::ELFMemoryManager() : _heap(0), _heapSize(0), _heapAlign(0), @@ -170,4 +172,3 @@ void ELFMemoryManager::deallocateFromHeap(void *ptr) { } #endif /* defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) */ - diff --git a/backends/plugins/elf/mips-loader.cpp b/backends/plugins/elf/mips-loader.cpp index e043c9647f..6c0e688783 100644 --- a/backends/plugins/elf/mips-loader.cpp +++ b/backends/plugins/elf/mips-loader.cpp @@ -337,4 +337,3 @@ void MIPSDLObject::freeShortsSegment() { } #endif /* defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) && defined(MIPS_TARGET) */ - diff --git a/backends/plugins/elf/mips-loader.h b/backends/plugins/elf/mips-loader.h index 3066589c9b..1103e939ce 100644 --- a/backends/plugins/elf/mips-loader.h +++ b/backends/plugins/elf/mips-loader.h @@ -58,4 +58,3 @@ public: #endif /* defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) && defined(MIPS_TARGET) */ #endif /* BACKENDS_PLUGINS_MIPS_LOADER_H */ - diff --git a/backends/plugins/elf/ppc-loader.cpp b/backends/plugins/elf/ppc-loader.cpp index 2f7042c682..4c9290ad5e 100644 --- a/backends/plugins/elf/ppc-loader.cpp +++ b/backends/plugins/elf/ppc-loader.cpp @@ -123,4 +123,3 @@ bool PPCDLObject::relocateRels(Elf32_Ehdr *ehdr, Elf32_Shdr *shdr) { } #endif /* defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) && defined(PPC_TARGET) */ - diff --git a/backends/plugins/elf/ppc-loader.h b/backends/plugins/elf/ppc-loader.h index 9aa6c949f1..8614476a92 100644 --- a/backends/plugins/elf/ppc-loader.h +++ b/backends/plugins/elf/ppc-loader.h @@ -38,4 +38,3 @@ protected: #endif /* defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) && defined(PPC_TARGET) */ #endif /* BACKENDS_PLUGINS_PPC_LOADER_H */ - diff --git a/backends/plugins/elf/shorts-segment-manager.cpp b/backends/plugins/elf/shorts-segment-manager.cpp index b3a9531c2d..993a538f6c 100644 --- a/backends/plugins/elf/shorts-segment-manager.cpp +++ b/backends/plugins/elf/shorts-segment-manager.cpp @@ -33,7 +33,9 @@ extern char __plugin_hole_start; // Indicates start of hole in program file for extern char __plugin_hole_end; // Indicates end of hole in program file extern char _gp[]; // Value of gp register +namespace Common { DECLARE_SINGLETON(ShortSegmentManager); // For singleton +} ShortSegmentManager::ShortSegmentManager() { _shortsStart = &__plugin_hole_start ; //shorts segment begins at the plugin hole we made when linking @@ -83,5 +85,3 @@ void ShortSegmentManager::deleteSegment(ShortSegmentManager::Segment *seg) { } #endif // defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) && defined(MIPS_TARGET) - - diff --git a/backends/plugins/elf/shorts-segment-manager.h b/backends/plugins/elf/shorts-segment-manager.h index 8293d55c08..34e233a2f4 100644 --- a/backends/plugins/elf/shorts-segment-manager.h +++ b/backends/plugins/elf/shorts-segment-manager.h @@ -111,4 +111,3 @@ private: #endif // defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) && defined(MIPS_TARGET) #endif /* SHORTS_SEGMENT_MANAGER_H */ - diff --git a/backends/plugins/elf/version.cpp b/backends/plugins/elf/version.cpp index 593a17fb2b..9f64870500 100644 --- a/backends/plugins/elf/version.cpp +++ b/backends/plugins/elf/version.cpp @@ -26,4 +26,3 @@ const char *gScummVMPluginBuildDate __attribute__((visibility("hidden"))) = __DATE__ " " __TIME__ ; #endif - diff --git a/backends/plugins/elf/version.h b/backends/plugins/elf/version.h index 915132e8c4..1f6924028b 100644 --- a/backends/plugins/elf/version.h +++ b/backends/plugins/elf/version.h @@ -29,4 +29,3 @@ extern const char *gScummVMPluginBuildDate; #endif #endif - diff --git a/backends/plugins/ps2/ps2-provider.cpp b/backends/plugins/ps2/ps2-provider.cpp index 7c7409eaf9..50cddb05e0 100644 --- a/backends/plugins/ps2/ps2-provider.cpp +++ b/backends/plugins/ps2/ps2-provider.cpp @@ -41,4 +41,3 @@ Plugin *PS2PluginProvider::createPlugin(const Common::FSNode &node) const { } #endif // defined(DYNAMIC_MODULES) && defined(__PLAYSTATION2__) - diff --git a/backends/plugins/ps2/ps2-provider.h b/backends/plugins/ps2/ps2-provider.h index b9006b1716..f4498204b4 100644 --- a/backends/plugins/ps2/ps2-provider.h +++ b/backends/plugins/ps2/ps2-provider.h @@ -35,4 +35,3 @@ public: #endif // BACKENDS_PLUGINS_PS2_PROVIDER_H #endif // defined(DYNAMIC_MODULES) && defined(__PLAYSTATION2__) - diff --git a/backends/plugins/psp/psp-provider.cpp b/backends/plugins/psp/psp-provider.cpp index 0c41af24a1..1d8cad6b50 100644 --- a/backends/plugins/psp/psp-provider.cpp +++ b/backends/plugins/psp/psp-provider.cpp @@ -43,4 +43,3 @@ Plugin *PSPPluginProvider::createPlugin(const Common::FSNode &node) const { } #endif // defined(DYNAMIC_MODULES) && defined(__PSP__) - diff --git a/backends/plugins/psp/psp-provider.h b/backends/plugins/psp/psp-provider.h index 0cc0457740..4ace3e7f4b 100644 --- a/backends/plugins/psp/psp-provider.h +++ b/backends/plugins/psp/psp-provider.h @@ -35,4 +35,3 @@ public: #endif // BACKENDS_PLUGINS_PSP_PROVIDER_H #endif // defined(DYNAMIC_MODULES) && defined(__PSP__) - diff --git a/backends/plugins/wii/wii-provider.cpp b/backends/plugins/wii/wii-provider.cpp index fa85588348..f96254eabe 100644 --- a/backends/plugins/wii/wii-provider.cpp +++ b/backends/plugins/wii/wii-provider.cpp @@ -43,4 +43,3 @@ Plugin *WiiPluginProvider::createPlugin(const Common::FSNode &node) const { } #endif // defined(DYNAMIC_MODULES) && defined(__WII__) - diff --git a/backends/plugins/wii/wii-provider.h b/backends/plugins/wii/wii-provider.h index 573a8e7e59..fb847e1024 100644 --- a/backends/plugins/wii/wii-provider.h +++ b/backends/plugins/wii/wii-provider.h @@ -35,4 +35,3 @@ public: #endif // BACKENDS_PLUGINS_WII_PROVIDER_H #endif // defined(DYNAMIC_MODULES) && defined(__WII__) - |