Page MenuHomeFreeBSD

share/mk/bsd.README: refer to the linker, not the loader
ClosedPublic

Authored by brooks on May 22 2025, 10:34 PM.
Tags
None
Referenced Files
F121438452: D50481.diff
Thu, Jun 26, 9:46 AM
Unknown Object (File)
Wed, Jun 25, 6:41 PM
Unknown Object (File)
Wed, Jun 25, 8:54 AM
Unknown Object (File)
Thu, Jun 19, 3:16 AM
Unknown Object (File)
Mon, Jun 2, 2:11 AM
Unknown Object (File)
Fri, May 30, 10:19 PM
Unknown Object (File)
Fri, May 30, 2:03 AM
Unknown Object (File)
Fri, May 30, 12:01 AM
Subscribers

Details

Summary

We're invoking the linker to create programs or libraries from one or
more object files not the loader to load them in to memory.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Huh this came from 4.4 Lite and has been this way for decades.

This revision is now accepted and ready to land.May 22 2025, 11:22 PM

I fully support this in my quest for linker == static linker, or link-editor and loader == run-time loader, or dynamic linker. Certainly linker can be overloaded for both, but I only ever see loader used for loading a binary into memory, not for generating a linked executable.