diff options
author | Nick Clifton <nickc@redhat.com> | 2000-12-28 19:54:33 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-12-28 19:54:33 +0000 |
commit | e4897a3288f37d5f69e8acd256a6e83e607fe8d8 (patch) | |
tree | d6fcfbe5ec48127460d93025d15ced85f8e95ee9 /ld/ld.texinfo | |
parent | 149fe25ee94d47858761726166e32626278fb97a (diff) | |
download | gdb-e4897a3288f37d5f69e8acd256a6e83e607fe8d8.zip gdb-e4897a3288f37d5f69e8acd256a6e83e607fe8d8.tar.gz gdb-e4897a3288f37d5f69e8acd256a6e83e607fe8d8.tar.bz2 |
Requre that long options starting with 'o' only accept a double dash prefix.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 9e227e0..c09148f 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -219,13 +219,20 @@ whitespace, or be given as separate arguments immediately following the option that requires them. For options whose names are multiple letters, either one dash or two can -precede the option name; for example, @samp{-oformat} and -@samp{--oformat} are equivalent. Arguments to multiple-letter options -must either be separated from the option name by an equals sign, or be -given as separate arguments immediately following the option that -requires them. For example, @samp{--oformat srec} and -@samp{--oformat=srec} are equivalent. Unique abbreviations of the names -of multiple-letter options are accepted. +precede the option name; for example, @samp{-trace-symbol} and +@samp{--trace-symbol} are equivalent. Note - there is one exception to +this rule. Multiple letter options that start with a lower case 'o' can +only be preceeded by two dashes. This is to reduce confusion with the +@samp{-o} option. So for example @samp{-omagic} sets the output file +name to @samp{magic} whereas @samp{--omagic} sets the NMAGIC flag on the +output. + +Arguments to multiple-letter options must either be separated from the +option name by an equals sign, or be given as separate arguments +immediately following the option that requires them. For example, +@samp{--trace-symbol foo} and @samp{--trace-symbol=foo} are equivalent. +Unique abbreviations of the names of multiple-letter options are +accepted. Note - if the linker is being invoked indirectly, via a compiler driver (eg @samp{gcc}) then all the linker command line options should be |