Specifically: the demo code for fzakaria's recent "SQLlite as executable" post making the rounds provided this binfmt loader code, and compiling it on my Aarch64 machine breaks here:
https://github.com/fzakaria/selfdb/blame/e63f7c470302f089a677ec87679a7df60b628547/loader/native.c#L286
... which is understandable, it says x86-64 on the tin. I'd understood the ELF _format_ to be generic across architectures even if the binary isn't so I'm wondering if making work correctly on non-x86-64 architectures is an easy couple of lines for people who know this layer, or...