Partially though adding arch jfunctions. Still need to update elf and test a jfunc.