 Linking may be done when an executable file is created, or whenever the program is used at runtime.The references being resolved may be addresses for jumps and other routine calls.They may be in the main program, or in one module depending upon another.