Explain Linker and Loader
Answers were Sorted based on User's Feedback
Answer / anusha.r
The basic job of any linker or loader is simple: it binds
more abstract names to more concrete names, which permits
programmers to write code using the more abstract names.
That is, it takes a name written by a programmer such as
getline and binds it to ``the location 612 bytes from the
beginning of the executable code in module iosys.'' Or it
may take a more abstract numeric address such as ``the
location 450 bytes beyond the beginning of the static data
for this module'' and bind it to a numeric address
Is This Answer Correct ? | 19 Yes | 3 No |
Answer / ashwinishaligram308
Linker is the one which links libraries and loader is the
program which load the proacess in to memory for execution
Is This Answer Correct ? | 20 Yes | 5 No |
Answer / ashutosh
linker is used to attach the source code from library
content, and loader in the component of operatng system.with
the help loader source code load in the memory.
Is This Answer Correct ? | 5 Yes | 2 No |
Linker is a stage before loader. Linker is a person who is
responsible for linking the different object file and the
outcome will be a executable file. Loader is a person who
reads the content of the executable file and place it into
memory. This code shall be executed when the operating
system control is coming to the loaded program.
Is This Answer Correct ? | 9 Yes | 7 No |
Answer / mubeen riaz
1
down vote
Computers basicly work with binary numbers, people speak their native languages, so, programming languages are for communication between people and computers. If you say: Add 2 and 3 and then substract 1 from it, I doubt that computer would understand anything (maybe in some programming language it would). So, you need to translate your source code into a format that computer understands, so you need a compiler, which translates a programming language to co called object code. But object code is not yet the language a computer understands and executes directly. So it needs a linker which will make an executable file that containts instructions in so called machine language; a machine language is a set of operations coded into binary numbers which processor understands. All binary instructions have it's structure and it's published by a processor manufacturers. You can look for it on say Intel's site and see how do they look like. I can't give a satisfactory answer for loaders at the moment so please search Google as a beginning step.
Is This Answer Correct ? | 0 Yes | 1 No |
What are the 5 data types?
Do pointers take up memory?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What is the use of void pointer and null pointer in c language?
write c program to display output 10(10+20)+(10+20+30)+ ... n term
0 Answers Hindustan Gum Chemicals,
Write a code on reverse string and its complexity.
WHAT IS FLOAT?
Develop a program that computes the new price of an item. The program should receive a character variable colour and a double precision floating-point variable price from the user. Discount rate is determined based on the colour of the discount sticker, as shown in the following table. An error message should be printed if an invalid colour has been entered
What is modifier & how many types of modifiers available in c?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none