1
A linker is given object module for a set of programs that were compiled separately. What information need not be included in an object module? Object mode Relocation bits Names and locations of all external symbols defined in the object module. Absolute addresses of internal symbols.
2
A system program that combines the separately complied modules of a program into a form suitable for execution assembler linking loader cross compiler load and go
1 vote
3
Please explain Dynamic linking and Dynamic Libraries in an intuitive way with an example.
4
Compare Following Points between Static and Dynamic Linking :- 1. Program Startup. 2. Overall Page Fault Rate.
5
Which segment in the process memory structure are the addresses of Dynamic Link Libraries (DLL) stored?
6
"Dynamic linking can cause security concerns as till run time path for searching dynamic library is not known." Can someone explain this in his own and simple words? note : This doubt is from ‘Gate 2003-76 ‘. Type gate2003-76 in Gateoverflow search box.
7
Does the dynamically linked files are slower in execution as compared to static linked files?
1 vote
8
Can Anyone explain me the difference between Static and Dynamic links in Activation Records With some illustration or eg ?
9
Consider the following statements: S1: When you statically link a file into an executable, the contents of the file are included during link time. S2: When you link dynamically, it is only during run time when a pointer to the file which is linked in is included in the executable and then the contents of said file are loaded. Which of the above statements is/are true?
1 vote
10
Differentiate the Relocation Activities done by Linker Loader In light with the following senario, Imagine I have written a program P and it consists of two source modules M1 and M2 contained in two different files situation 1 : In M1 there is a reference to a function in M2 . ... ? ( if any of these situation is not resolved in load time then ) what is the relocation activity done by loader ...?
11
Which of the following are the principles tasks of the linker ? I. Resolve external references among separately compiled program units. II. Translate assembly language to machine code. III. Relocate code and data relative to the beginning of the program. IV. Enforce access-control restrictions on system libraries. $I$ and $II$ $I$ and $III$ $II$ and $III$ $I$ and $IV$
12
Which of the following can be accessed by transfer vector approach of linking ? External data segments External subroutine Data located in other procedure All of the above
1 vote
13
Object modules generated by assembler that contains unresolved external references are resolved for two or more object module by a/an Operating system Loader Linker Compiler
Consider a program $P$ that consists of two source modules $M_1$ and $M_2$ contained in two different files. If $M_1$ contains a reference to a function defined in $M_2$ the reference will be resolved at Edit time Compile time Link time Load time