Relink different architectures in a nicer and safer way.