Adaptions for returning to boot leader on multi-cores
Remove unused memory regions of linkcmds