Article 5SYGD Absolute Adresses in compiled program

Absolute Adresses in compiled program

by
smegmaLord
from LinuxQuestions.org on (#5SYGD)
I have a question thats been bothering me for a while.

We have been taught at uni that after a compilation ( so even .o file) there is
assembly instructions for certain processor.
Also: the adresses of the instructions should be absolute? I am not talking about dynamic libraries or stub as those are inserted during program loading or during execution.
But how come the instruction adresses can be absolute? What happens if on that adress there is a different code? I feel like all programs should be PID :D

It would be of great help if some of you would answer my question:)latest?d=yIl2AUoC8zA latest?i=QRmxcf6X6ck:ZStP5ppkRyQ:F7zBnMy latest?i=QRmxcf6X6ck:ZStP5ppkRyQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=QRmxcf6X6ck:ZStP5ppkRyQ:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments