Commit 511ab9e9 authored by Ian Lance Taylor's avatar Ian Lance Taylor
Browse files

* ld.texinfo (Options): Clarify that options which refer to files

	must be properly ordered.
parent ba96a88f
1999-05-29 Ian Lance Taylor <ian@zembu.com>
* ld.texinfo (Options): Clarify that options which refer to files
must be properly ordered.
1999-05-29 Nick Clifton <nickc@cygnus.com>
* emultempl/armelf.em (..._parse_args): New function: Parse
......
......@@ -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},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment