Diagram of the linking process showing different objects being combined by ld(1) into the a.out executable.
https://media.mstdn.social/media_attachments/files/113/482/486/510/675/618/original/d1b6f9af35a52956.png
Advanced #Programming in the #UNIX Environment
Week 11, Of Linkers and Loaders
Building on top of what we discussed in Week 5 in the context of the compiler chain, we take a look at how a relocatable object file is turned into an executable by the dynamic linker (ld) and how an executable is loaded into memory by the run-time link-editor (ld.so or ld.elf_so).
Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.
All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.