added changes reqd in vm  when integrating linker