polish docs

and a bit of code style
This commit is contained in:
Torsten Ruger
2018-03-11 16:11:15 +05:30
parent d6a2ea4cfc
commit f7aac1d1a4
14 changed files with 65 additions and 72 deletions

View File

@ -1,18 +1,18 @@
Minimal elf support
===================
# Minimal elf support
This is really minimal and works only for our current use case
- no external functions (all syscalls)
- only position independant code (no relocation)
- only position independent code (no relocation)
- embedded data (into text), no data section
I was close to going the wilson way, ie assmble, load into memory and jump
But it is nice to produce executables. Also easier to test, what with segfaults and such.
Executable files are not supported (yet?), but object files work. So the only thing that remains is to
call the linker on the produced object file. The resulting file is an executable that actually works!!
Executable files are not supported (yet?), but object files work. So the only thing that
remains is to call the linker on the produced object file. The resulting file is an
executable that actually works!!
Thanks to Mikko for starting this arm/elf project in the first place: https://github.com/cyndis/as