Positional Independent Code and Common Object

Someone please explain what the independent position code and common object really mean. Regardless of whether the object code is created after compilation, the position is independent.

It would be helpful if someone explained how access to local / external variables is handled in position-independent code.

Look for some real world examples of dynamic linking / loading.

+3
source share
2 answers

One good general explanation with lots of examples.

+3
source

, Employed Russian, . , , . , , .

+2

Source: https://habr.com/ru/post/1782873/


All Articles