Add overflow check to linker