diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-05-29 19:43:33 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-05-29 19:43:33 +0000 |
commit | 511ab9e95b69fddced78b9096afe745a5547f3c8 (patch) | |
tree | 594dcdef10636f0cb6b9e9a1c74d18be5037fb0e /ld/ld.texinfo | |
parent | ba96a88f080f2b56a2cbe113ac9e287bfd21ef97 (diff) | |
download | gdb-511ab9e95b69fddced78b9096afe745a5547f3c8.zip gdb-511ab9e95b69fddced78b9096afe745a5547f3c8.tar.gz gdb-511ab9e95b69fddced78b9096afe745a5547f3c8.tar.bz2 |
* ld.texinfo (Options): Clarify that options which refer to files
must be properly ordered.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 027f196..4366576 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -179,18 +179,21 @@ result of linking the file @code{/lib/crt0.o} with @code{hello.o} and the library @code{libc.a}, which will come from the standard search directories. (See the discussion of the @samp{-l} option below.) -The command-line options to @code{ld} may be specified in any order, and -may be repeated at will. Repeating most options with a different -argument will either have no further effect, or override prior +Some of the command-line options to @code{ld} may be specified at any +point in the command line. However, options which refer to files, such +as @samp{-l} or @samp{-T}, cause the file to be read at the point at +which the option appears in the command line, relative to the object +files and other file options. Repeating non-file options with a +different argument will either have no further effect, or override prior occurrences (those further to the left on the command line) of that option. Options which may be meaningfully specified more than once are noted in the descriptions below. @cindex object files -Non-option arguments are objects files which are to be linked together. -They may follow, precede, or be mixed in with command-line options, -except that an object file argument may not be placed between an option -and its argument. +Non-option arguments are object files or archives which are to be linked +together. They may follow, precede, or be mixed in with command-line +options, except that an object file argument may not be placed between +an option and its argument. Usually the linker is invoked with at least one object file, but you can specify other forms of binary input files using @samp{-l}, @samp{-R}, |