Multiarch support
Status: planning
On a x86-64 system, allow Plash to run binaries built for both x86-64 and i386.
Tasks
Build the ELFChainloader for two architectures instead of one
One difficulty is that ELFChainloader depends on dietlibc, which we would need to build on multiple architectures. Does Debian packaging provide any support for doing that, or would we have to alter the Debian packaging for dietlibc?
Build PlashGlibc for the second architecture
Change the exec()-handling code in FsOp and PolaRun
- Don't use a fixed ld.so.
- Check the architecture of the executable or of ld.so, and choose the correct build of the chainloader based on that
