Operating Systems Concepts - Engineering

Q1:

Which of the following functions is(are) performed by the loader

A allocate space in memory for the programs and resolve symbolic references between object decks

B adjust all address dependent locations, such as address constants, to correspond to the allocated space.

C physically place the machine instructions and data into memory.

D All of the above

E None of the above

ANS:D - All of the above

Loader basically load the various object files in memory and do the following: allocating memory space for prog, adjusting memory locations so that all the loaded object files can run properly in combination.