Line 3: |
Line 3: |
| Using the Relocator can be compared by using DLL (Windows) or SO (*nix) files. | | Using the Relocator can be compared by using DLL (Windows) or SO (*nix) files. |
| | | |
− | ==Description== | + | == Description == |
| The Relocator loads the code of an elf object file into memory and gives an interface to load the function pointers similar to the dlsym function in *nix. | | The Relocator loads the code of an elf object file into memory and gives an interface to load the function pointers similar to the dlsym function in *nix. |
| It's a development lib and not finished yet. | | It's a development lib and not finished yet. |
| | | |
− | ==Current Status== | + | == Current Status == |
| I started this project a while ago, but didn't finish it (and lost the motivation to finish it). | | I started this project a while ago, but didn't finish it (and lost the motivation to finish it). |
| With some tweaks I was able to load and run code successfully, but because of lacking ppc asm knowledge I wasn't able to impement the elf relocations correct. | | With some tweaks I was able to load and run code successfully, but because of lacking ppc asm knowledge I wasn't able to impement the elf relocations correct. |
| So I'm releasing the code and maybe someone continues to work on this project or use it as material for further projects. | | So I'm releasing the code and maybe someone continues to work on this project or use it as material for further projects. |
| | | |
− | ==Versions== | + | == Versions == |
| Latest Development Snapshot: [http://miom.pytalhost.de/reloc.rar reloc.rar] | | Latest Development Snapshot: [http://miom.pytalhost.de/reloc.rar reloc.rar] |
| Includes some examples | | Includes some examples |
| | | |
− | ==Additional Information== | + | == Additional Information == |
| *You can find a lot of information about the elf format in the [http://www.koders.com/cpp/fid58F621524F2DADC04E2712E00982A6A062214164.aspx elf.h header file] | | *You can find a lot of information about the elf format in the [http://www.koders.com/cpp/fid58F621524F2DADC04E2712E00982A6A062214164.aspx elf.h header file] |
| *[http://www.linux-kernel.de/appendix/ap05.pdf This document] contains a good description of the elf format (german). | | *[http://www.linux-kernel.de/appendix/ap05.pdf This document] contains a good description of the elf format (german). |