Why does linux only support ELF?
Other executable formats, for instance, support multiple architectures per file. Why does Linux not?
Other executable formats, for instance, support multiple architectures per file. Why does Linux not?
My favourite use for this feature is via `qemu-user-static`, which allows you to transparently "run" executables compiled for other architectures thanks to QEMU emulation. Very handy for embedded systems development.
If the kernel has the bin_fmt mod loaded, it can also recognize other binary formats before falling back to /bin/sh.