emit F_BASE
refactor static link test and add todo