update -legacy branch with sm4.7 toolchain & psd fixes for it