Plan 9 from Bell Labs’s /sources/patch/applied/libmach-enable-mipsmachle/files
/sys/src/libmach/setmach.c setmach.c