position-independent code

views updated

position-independent code Program code that can be placed anywhere in memory, since all memory references are made relative to the program counter. Position-independent code can be moved at any time, unlike relocatable code, which can be loaded anywhere but once loaded must stay in the same position.