Merge "linker: cleanup of undefined state handling, which is really dead code"