Update code for changes in linker API.