Tag
position-independent-code
- Jul 31, 2026 Position-Independent Code, the PLT, and the GOT Why a shared object cannot know its load address, how the global offset table turns an absolute address into a load-time fixup, and what lazy binding defers. systems programming
- Nov 10, 2025 Relocation Arithmetic: Patching Machine Code at Link Time The formulas behind absolute, PC-relative, and GOT-relative relocations, the range limits that make them fail, and why the addend must be stored separately on some architectures. compilers
- Apr 8, 2024 Position-Independent Executables and the Cost of PC-relative Addressing Why a PIE carries relocation tables that a fixed-address executable does not, how RIP-relative instructions encode the same reference, and what the GOT still has to mediate. systems programming
- Sep 19, 2023 Kernel Decompression and Physical Relocation Why a compressed kernel image relocates itself before decompressing, how the position-independent stub finds free memory, and what has to change in the page tables when the kernel moves. operating systems
- Jan 13, 2023 Position-Independent Code and the Global Offset Table Why shared code cannot contain absolute addresses, how the GOT turns one pointer indirection into position independence, and what the PLT adds for functions. compilers