Merge "Move some utility functions to linker_utils"