aboutsummaryrefslogtreecommitdiff
path: root/backends/plugins
AgeCommit message (Collapse)Author
2010-09-05PLUGINS: Move platform specific code out of the generic ELF loader.Andre Heider
Instead overwrite pure virtual functions in a backend specific class. svn-id: r52556
2010-09-05PLUGINS: Move all ELF loader related files to its own directory.Andre Heider
svn-id: r52555
2010-09-05PLUGINS: Plugin support for the GameCube/Wii backend.Andre Heider
svn-id: r52553
2010-09-05PLUGINS: Formatting.Andre Heider
svn-id: r52552
2010-09-05PLUGINS: Respect the VMA when relocating.Andre Heider
Plugins do not have to be linked at 0x0. Some platforms have limited relocation jump offsets, which makes 0x0 unusable. svn-id: r52551
2010-09-05PLUGINS: Properly check the ELF header.Andre Heider
The ELFMAG is only 4 bytes, not 6. Properly check for endianess. svn-id: r52550
2010-09-05PLUGINS: The VMA doesn't get added to any PHDR.Andre Heider
svn-id: r52549
2010-09-05PLUGINS: Fix warnings.Andre Heider
svn-id: r52548
2010-09-05PLUGINS: Cleanup includes and debug output.Andre Heider
Use the common debug functions instead of spamming #defines. svn-id: r52547
2010-09-05PLUGINS: Flush only memory ranges, not everythingAndre Heider
svn-id: r52546
2010-08-29PLUGINS: Fix warnings and unnecessary casts.Andre Heider
svn-id: r52439
2010-08-19PSP: made PSP compile with plugins.Yotam Barnoy
Also removed criticalSection calls from elf-loader.cpp, since now streams are used so the criticalSections are automatic. svn-id: r52206
2010-08-19PLUGINS: added virtual destructor to DLObjectYotam Barnoy
This could be really important. Maybe. svn-id: r52205
2010-08-16Added doxygen comments for a few different plugin-related classesTony Puccinelli
svn-id: r52124
2010-08-16added a todo to plugins.cpp and a comment to elf32.h; Collapsed plugin ↵Tony Puccinelli
providers for a few ports into their .h files, removing the corresponding .cpp files svn-id: r52112
2010-08-13refactored NEW_PLUGIN_DESIGN_FIRST_REFINEMENT define into ONE_PLUGIN_AT_A_TIMETony Puccinelli
svn-id: r52058
2010-08-13added appropriate ifdefs throughout the plugins directoryTony Puccinelli
svn-id: r52053
2010-08-12modified DS makefile to use new plugin design where only one plugin is ↵Tony Puccinelli
loaded at a time and tested successfully on the DS. Added code to prevent a crash in the case where there are no engine plugins present. Removed code for R_ARM_TARGET1 in arm-loader, as it is no longer used and was never used successfully svn-id: r52052
2010-08-10merged trunk into branch, reverted Cruise Singleton changesTony Puccinelli
svn-id: r51961
2010-08-07got rid of rest of leftover stuff from GP2X-WIZ elf-loader attemptTony Puccinelli
svn-id: r51846
2010-08-07refined constructors, removed destructors, got rid of unneccessary method ↵Tony Puccinelli
duplication in DLObject and its subtypes svn-id: r51845
2010-08-07added necessary files I forgot to commit yesterday (whoops...) for mips and ↵Tony Puccinelli
arm loaders svn-id: r51843
2010-08-07took out hacky 'ifdef MIPS_TARGET' statements in DLObject's methods and ↵Tony Puccinelli
instead overrode those methods in MIPSDLObject svn-id: r51827
2010-08-07modified psp to use mips-loader.cpp (and added things to backends/module.mk)Tony Puccinelli
svn-id: r51826
2010-08-07made MIPSDLObject and PS2 plugin provider that uses itTony Puccinelli
svn-id: r51818
2010-08-06got rid of gp2xwiz loader (anything useful from it is already incorporated ↵Tony Puccinelli
into the ARM loader in the plugins directory at this point) and implemented ARMDLObject as a subtype of DLObject svn-id: r51813
2010-08-06made a couple of functions in DLObject virtual, other minor fixes/changesTony Puccinelli
svn-id: r51797
2010-08-06removed unnecessary declaration of flushDataCache() in elf-loader headerTony Puccinelli
svn-id: r51794
2010-08-06got rid of unneccessary 'extern C' section in elf-loader header and ↵Tony Puccinelli
refactored arm-relocs.cpp to arm-loader.cpp svn-id: r51793
2010-08-06added loadPlugin function into DSPlugin (doesn't use a DSDLObject yet)Tony Puccinelli
svn-id: r51778
2010-08-06added DSPlugin and DS Plugin Provider (steps towards using subtypes of DLObject)Tony Puccinelli
svn-id: r51777
2010-08-06hacky way to put ELFPlugin::findSymbol in elf-provider.cpp without compiler ↵Tony Puccinelli
errors svn-id: r51775
2010-08-05Fix for mixed-up ordering of '_dlHandle->close()' and 'delete _dlHandle'Tony Puccinelli
svn-id: r51773
2010-08-05Moved ELFPlugin class definition into elf-provider.hTony Puccinelli
svn-id: r51767
2010-08-05dealt with FIXME comments: removing superfluous checks, printfs, etc.Tony Puccinelli
svn-id: r51765
2010-08-03added checks for ELF_LOADER_TARGET before including the elf plugin providerTony Puccinelli
svn-id: r51716
2010-08-03Simplify code a bit, add several FIXMEsMax Horn
svn-id: r51688
2010-08-03got rid of dlerr[MAXDLERRLEN]Tony Puccinelli
svn-id: r51678
2010-08-03got rid of dlopen, dlclose, etc. wrappersTony Puccinelli
svn-id: r51677
2010-07-28added some comments to shorts-segment-manager, moved main engine linker ↵Tony Puccinelli
script for ps2 into the plugins folder as it is only used when dynamic plugins are enabled svn-id: r51447
2010-07-28added check for MIPS machine type in the 'readElfHeader' methodTony Puccinelli
svn-id: r51403
2010-07-28abstracted an ELF plugin providerTony Puccinelli
svn-id: r51400
2010-07-28fixed incorrect header file includeTony Puccinelli
svn-id: r51399
2010-07-28various manual tweaks to get ds port compiling from branch again after ↵Tony Puccinelli
earlier merge from trunk svn-id: r51398
2010-07-27Continued abstraction of generic ELF-loader, splitting off MIPS-processor ↵Tony Puccinelli
specific things into their own files and testing on the PS2 svn-id: r51345
2010-07-26moved flushDataCache function from ds-loader.cpp to elf-loader.cpp and moved ↵Tony Puccinelli
arm-relocations from ds-loader.cpp to arm-relocs.cpp; deleted ds-loader.cpp svn-id: r51289
2010-07-24Finished initial abstraction of ELF-loader (works for DS)Tony Puccinelli
svn-id: r51233
2010-07-23renamed MIPS loader header to match file naming conventionsTony Puccinelli
svn-id: r51219
2010-07-23Began abstraction of generic ELF-loaderTony Puccinelli
svn-id: r51195
2010-07-23Added abstracted elf32 header file to plugins directoryTony Puccinelli
svn-id: r51192