Relocation (computing): Difference between revisions

Content deleted Content added
CE
Tag: Reverted
Line 10:
Relocation is typically done by the linker at [[link time]], but it can also be done at [[load time]] by a relocating [[loader (computing)|loader]], or at [[run time (program lifecycle phase)|run time]] by the running program [[self-relocation|itself]]. Some architectures avoid relocation entirely by deferring address assignment to run time; as, for example, in stack machines with [[zero address arithmetic]] or in some segmented architectures where every compilation unit is loaded into a separate segment.
 
bu
== Segmentation ==
[[Object file]]s are segmented into various [[Memory segmentation|memory segment]] types. Example segments include [[code segment|code segment (.text)]], [[data segment|initialized data segment (.data)]], [[.bss|uninitialized data segment (.bss)]], or others.{{clarify|date=November 2016}}
 
== Relocation table ==