add support of relocatable kernel