Saturday 13 April 2019

Linking Loader and Linkage Editor in programming c

Linking Loader and Linkage Editor


In the program only small portion has the instructions that data need to solve problem.
The libraries are provided to a programmer wanting to solve common operations so may uses
system-supplied routines to do so.Input  and output is normally handled by routines outside of the
program .hence translator produced machine language program must be combined with other machines programs residing within the library to form a useful execution unit.The process of program combination is called linking and the software that performs this operation is variously known as a linking loader or a linkage editor. Linking is done after object code generation, prior to program execution time.At loading time ,linking loader combines whatever programs are required and loads them directly into primary storage. A linkage editor also performs the same task or jobs and
 it creates a load image that it preserves on secondary storage for future reference and uses. Whenever a program is to be executed, the load image produced by the linkage editor may be loaded immediately without the overhead of recombining program segments.

0 comments:

Post a Comment