Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-06 | PLUGINS: fixed MIPS plugin loader | Yotam Barnoy | |
Adjusted to new VMA handling and fixed a few errors which caused crashes. Also removed unneeded expansion of alignment value. svn-id: r52589 | |||
2010-09-06 | PLUGINS: added missing call in destructor which caused crashing | Yotam Barnoy | |
svn-id: r52588 | |||
2010-09-05 | PLUGINS: Added _segmentVMA to the MIPS loader. | Andre Heider | |
Also added 2 TODOs for all loaders not respection that offset. svn-id: r52577 | |||
2010-09-05 | PLUGINS: Remove spurious extra allocation. | Andre Heider | |
Elf32_Phdr.p_align is to align the memory location of the loaded segment, not to extend its size. The size of the scratch area (like .bss and .sbss) is p_memsz-p_filesz, which has to be set to zero by the loader. svn-id: r52576 | |||
2010-09-05 | PLUGINS: Plug some memleaks. | Andre Heider | |
svn-id: r52575 | |||
2010-09-05 | PLUGINS: Move doxygen to the base class header. | Andre Heider | |
No point in documenting it on every derived class. svn-id: r52574 | |||
2010-09-05 | PLUGINS: Add missing variable initialization. | Andre Heider | |
svn-id: r52573 | |||
2010-09-05 | PLUGINS: Formatting. | Andre Heider | |
Misformatted casts in an earier commit, oops. svn-id: r52572 | |||
2010-09-05 | PLUGINS: Set svn:keywords property on all new files. | Andre Heider | |
svn-id: r52566 | |||
2010-09-05 | PLUGINS: Make the file stream a member of DLObject. | Andre Heider | |
No point in passing it to functions all over the place. Release the stream when it's not required anymore. svn-id: r52558 | |||
2010-09-05 | PLUGINS: Type cleanup. | Andre Heider | |
Use our types, get rid of some casts. svn-id: r52557 | |||
2010-09-05 | PLUGINS: 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-05 | PLUGINS: Move all ELF loader related files to its own directory. | Andre Heider | |
svn-id: r52555 | |||
2010-09-05 | PLUGINS: Plugin support for the GameCube/Wii backend. | Andre Heider | |
svn-id: r52553 | |||
2010-09-05 | PLUGINS: Formatting. | Andre Heider | |
svn-id: r52552 | |||
2010-09-05 | PLUGINS: 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-05 | PLUGINS: Properly check the ELF header. | Andre Heider | |
The ELFMAG is only 4 bytes, not 6. Properly check for endianess. svn-id: r52550 | |||
2010-09-05 | PLUGINS: The VMA doesn't get added to any PHDR. | Andre Heider | |
svn-id: r52549 | |||
2010-09-05 | PLUGINS: Fix warnings. | Andre Heider | |
svn-id: r52548 | |||
2010-09-05 | PLUGINS: Cleanup includes and debug output. | Andre Heider | |
Use the common debug functions instead of spamming #defines. svn-id: r52547 | |||
2010-09-05 | PLUGINS: Flush only memory ranges, not everything | Andre Heider | |
svn-id: r52546 | |||
2010-08-29 | PLUGINS: Fix warnings and unnecessary casts. | Andre Heider | |
svn-id: r52439 | |||
2010-08-19 | PSP: 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-19 | PLUGINS: added virtual destructor to DLObject | Yotam Barnoy | |
This could be really important. Maybe. svn-id: r52205 | |||
2010-08-16 | Added doxygen comments for a few different plugin-related classes | Tony Puccinelli | |
svn-id: r52124 | |||
2010-08-16 | added 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-13 | refactored NEW_PLUGIN_DESIGN_FIRST_REFINEMENT define into ONE_PLUGIN_AT_A_TIME | Tony Puccinelli | |
svn-id: r52058 | |||
2010-08-13 | added appropriate ifdefs throughout the plugins directory | Tony Puccinelli | |
svn-id: r52053 | |||
2010-08-12 | modified 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-10 | merged trunk into branch, reverted Cruise Singleton changes | Tony Puccinelli | |
svn-id: r51961 | |||
2010-08-07 | got rid of rest of leftover stuff from GP2X-WIZ elf-loader attempt | Tony Puccinelli | |
svn-id: r51846 | |||
2010-08-07 | refined constructors, removed destructors, got rid of unneccessary method ↵ | Tony Puccinelli | |
duplication in DLObject and its subtypes svn-id: r51845 | |||
2010-08-07 | added necessary files I forgot to commit yesterday (whoops...) for mips and ↵ | Tony Puccinelli | |
arm loaders svn-id: r51843 | |||
2010-08-07 | took out hacky 'ifdef MIPS_TARGET' statements in DLObject's methods and ↵ | Tony Puccinelli | |
instead overrode those methods in MIPSDLObject svn-id: r51827 | |||
2010-08-07 | modified psp to use mips-loader.cpp (and added things to backends/module.mk) | Tony Puccinelli | |
svn-id: r51826 | |||
2010-08-07 | made MIPSDLObject and PS2 plugin provider that uses it | Tony Puccinelli | |
svn-id: r51818 | |||
2010-08-06 | got 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-06 | made a couple of functions in DLObject virtual, other minor fixes/changes | Tony Puccinelli | |
svn-id: r51797 | |||
2010-08-06 | removed unnecessary declaration of flushDataCache() in elf-loader header | Tony Puccinelli | |
svn-id: r51794 | |||
2010-08-06 | got 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-06 | added loadPlugin function into DSPlugin (doesn't use a DSDLObject yet) | Tony Puccinelli | |
svn-id: r51778 | |||
2010-08-06 | added DSPlugin and DS Plugin Provider (steps towards using subtypes of DLObject) | Tony Puccinelli | |
svn-id: r51777 | |||
2010-08-06 | hacky way to put ELFPlugin::findSymbol in elf-provider.cpp without compiler ↵ | Tony Puccinelli | |
errors svn-id: r51775 | |||
2010-08-05 | Fix for mixed-up ordering of '_dlHandle->close()' and 'delete _dlHandle' | Tony Puccinelli | |
svn-id: r51773 | |||
2010-08-05 | Moved ELFPlugin class definition into elf-provider.h | Tony Puccinelli | |
svn-id: r51767 | |||
2010-08-05 | dealt with FIXME comments: removing superfluous checks, printfs, etc. | Tony Puccinelli | |
svn-id: r51765 | |||
2010-08-03 | added checks for ELF_LOADER_TARGET before including the elf plugin provider | Tony Puccinelli | |
svn-id: r51716 | |||
2010-08-03 | Simplify code a bit, add several FIXMEs | Max Horn | |
svn-id: r51688 | |||
2010-08-03 | got rid of dlerr[MAXDLERRLEN] | Tony Puccinelli | |
svn-id: r51678 | |||
2010-08-03 | got rid of dlopen, dlclose, etc. wrappers | Tony Puccinelli | |
svn-id: r51677 |