Linker for my executable format
Posted: Mon Feb 05, 2007 11:18 am
Hello,
I want to create my own format for executables and shared libraries, and now I wonder how to create executables using this format ... of course I could write my own linker, which uses ELF reloctable objects to create my executable, but this is a lot of work ( boring work because it only tooks a lot of time, but it's not really complicated cause I'm familiar with stuff like relocation, sections, alignments, ... ) .
Is there a good way to port ld to know my format or is there a less-complex one to port ? Maybe you know some simple elf-loader I could use or something like that ... I would really like to go on with my os and not to waste lots of time on this problem ...
I want to create my own format for executables and shared libraries, and now I wonder how to create executables using this format ... of course I could write my own linker, which uses ELF reloctable objects to create my executable, but this is a lot of work ( boring work because it only tooks a lot of time, but it's not really complicated cause I'm familiar with stuff like relocation, sections, alignments, ... ) .
Is there a good way to port ld to know my format or is there a less-complex one to port ? Maybe you know some simple elf-loader I could use or something like that ... I would really like to go on with my os and not to waste lots of time on this problem ...