grassator / mass

A compiler for a new language focusing on compile-time execution and no LLVM dependency.
https://www.youtube.com/watch?v=k3gDvF-Fbpw&list=PLvdK1vRmp8wMzH4w_8sQ30NKU3Bt4Cc-M
MIT License
285 stars 7 forks source link

ELF64 Support Module #44

Open grassator opened 3 years ago

grassator commented 3 years ago

Mass should have a standard module that allows to write (and read?) ELF executables. This should not be part of the compiler but rather written in the language itself.

dumblob commented 2 years ago

For fun (and maybe to learn something about ELF or rather about its implementation in Linux): https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html

grassator commented 2 years ago

@dumblob Thank you for sharing. It is not really relevant, but that is my bad for not specifying that it will be Elf64, not the 32-bit version, which has some extra requirements.