Output Modules

This chapter describes the output modules included with Sassy.

8.1  Flat Binaries

—procedure: sassy-make-bin file sassy-output . opts

Dumps the raw contents of the text section of sassy-output to file followed by the data section, if any. If there is no text section and only a data section, then the data section will be dumped. If the file exists, it will be overwritten. opts is a set of zero, one or more of the following quoted symbols:

8.2  ELF Output

—procedure: sassy-make-elf file sassy-output

Constructs a GNU/Linux x86 ELF object-file based on the contents of the sassy-output and writes it to file. If the file exists it will be overwritten.

If you are creating an executable, you’ll need to export the symbol _start, or use entry.

If you are writing shared libraries: