Skip to content

Commit cba6bf5

Browse files
committed
share/mk/bsd.README: refer to the linker, not the loader
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. Reviewed by: jhb, emaste Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D50481
1 parent fbfc85d commit cba6bf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

share/mk/bsd.README

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ DPADD Additional dependencies. Usually used for libraries.
175175
Dependencies on shared libraries should be only on the
176176
library version numbers.
177177

178-
LDADD Additional loader objects. Usually used to add libraries.
178+
LDADD Additional linker objects. Usually used to add libraries.
179179
For example, to load with the compatibility and utility
180180
libraries, use:
181181

@@ -184,8 +184,8 @@ LDADD Additional loader objects. Usually used to add libraries.
184184
LDADD.${.TARGET:T}
185185
Loader objects dependent on output file name.
186186

187-
LDFLAGS Additional loader flags. Passed to the loader via CC,
188-
since that's used to link programs as well, so loader
187+
LDFLAGS Additional linker flags. Passed to the linker via CC,
188+
since that's used to link programs as well, so linker
189189
specific flags need to be prefixed with -Wl, to work.
190190
LDFLAGS.${.TARGET:T}
191191
Flags dependent on output file name.

0 commit comments

Comments
 (0)