J
J
jasonb0rn2016-09-27 00:39:31
linux
jasonb0rn, 2016-09-27 00:39:31

How are symbols resolved after compilation when linking?

Question for one of the tasks that a linker (linker) solves with an object file. Linux Journal read this article. From it it is not clear what exactly character resolution means.
Each name before section relocation and link relocation is said to be exactly associated with a definition from the symbol table. What does it mean? Each unresolved symbol is replaced by a link in which the name of the object file and the index of the symbol table of the object file, or what do you mean the symbols are allowed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daemon23RUS, 2016-09-27
@Daemon23RUS

Read allowed - found. We have a table of definitions of names and addresses of all procedures/variables (not local) in all object files. So each call to a name is associated with an entry in this table and is considered resolved (found).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question