Tagged articles
1 articles
Page 1 of 1
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 11, 2024 · Fundamentals

How Linux Dynamic Linking Works: From PIC to Lazy Binding Explained

This article explores the mechanisms of dynamic linking on Linux, covering global symbol interposition, lazy binding, position‑independent code, relocation tables, hidden symbols, and initialization order, with detailed code examples and assembly analysis to help developers understand and troubleshoot symbol conflicts and address‑independent execution.

ELFPICdynamic linking
0 likes · 40 min read
How Linux Dynamic Linking Works: From PIC to Lazy Binding Explained