Building an ELF File
This is the next installment in my GSoC project! This week, attempting to make an ELF file! The most useful resource for me in working on this bit (besides the always helpful Linkers & Loaders by Levine) has been this hello world ELF tutorial which has you generate an ELF executable file and then walks you through some of its components. If you want a more general overview of ELF files before diving into the nitty gritty of that tutorial, I recommend this guide . It doesn't go as in depth, but is a bit easier to read than the tutorial and gives you enough information to follow along easily with the next bits without having to look through an ELF file yourself. My initial approach was to use the .interp section to call perl6 to interpret arbitrary source code included in the .text section, rather than using the system's standard loader, ld-linux.so. This approach did not wind up working, but the method used to create the ELF header and program section headers wi...