Answer Posted / niranjanamurthy
Linking is the process of combining various pieces of code
and data together to form a single executable that can be
loaded in memory. Linking can be done at compile time, at
load time (by loaders) and also at run time (by application
programs). The process of linking dates back to late 1940s,
when it was done manually. Now, we have linkers that support
complex features, such as dynamically linked shared
libraries. This article is a succinct discussion of all
aspects of linking, ranging from relocation and symbol
resolution to supporting position-independent shared
libraries. To keep things simple and understandable, I
target all my discussions to ELF (executable and linking
format) executables on the x86 architecture (Linux) and use
the GNU compiler (GCC) and linker (ld). However, the basic
concepts of linking remain the same, regardless of the
operating system, processor architecture or object file
format being used.
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
Explain what is meant by heap?
What is dual-mode operation?
Can a bad cpu cause blue screen?
Can I use chkdsk on ssd?
How do I copy a path to a shared drive?
Differentiate internal commands from external commands.
What is synchronous and asynchronous process?
What are operating system services?
When is a system in a safe state?
What is the cache memory?
What are the deadlock avoidance schemes?
What are advantages of operating system?
What is LiveLock?
What is a 64 bit operating system?
What do you mean by memory leak?