TempleOS programs in Linux user-space, part 3: Stranger in a strange land

1 · Minexew · May 10, 2020, midnight
Last time, we took apart the kernel and looked at some binary formats. We will now put our gained knowledge to good use and build something that can be run. Application Binary Interface Before we can bring our blessed code into the impure Linux-land, we need to talk a bit about how programs fit within the operating system. An Application Binary Interface (ABI) encompasses the following (and more): function calling conventions operating system interface and process initialization executable file...