Link-time optimization