Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>

* ld/ld.1: Fix formatting bugs.
This commit is contained in:
Ken Raeburn
1995-10-06 20:46:02 +00:00
parent 69ee9125f8
commit 8016553585
2 changed files with 26 additions and 46 deletions

View File

@ -1,3 +1,9 @@
Fri Oct 6 16:26:16 1995 Ken Raeburn <raeburn@cygnus.com>
Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* ld/ld.1: Fix formatting bugs.
Wed Oct 4 17:37:46 1995 Ian Lance Taylor <ian@cygnus.com> Wed Oct 4 17:37:46 1995 Ian Lance Taylor <ian@cygnus.com>
* ldexp.c (exp_get_abs_int): Return bfd_vma, not int. * ldexp.c (exp_get_abs_int): Return bfd_vma, not int.

66
ld/ld.1
View File

@ -53,7 +53,7 @@ ld \- the GNU linker
.I input-format\c .I input-format\c
\&\|] \&\|]
.RB "[\|" \-g "\|]" .RB "[\|" \-g "\|]"
.RB "[\|" \-G\c .RB "[\|" \-G
.I size\c .I size\c
\&\|] \&\|]
.RB "[\|" \-\-help "\|]" .RB "[\|" \-\-help "\|]"
@ -65,10 +65,10 @@ ld \- the GNU linker
.I searchdir\c .I searchdir\c
\&\|] \&\|]
.RB "[\|" \-M "\|]" .RB "[\|" \-M "\|]"
.RB "[\|" \-Map\c .RB "[\|" \-Map
.I mapfile\c .I mapfile\c
\&\|] \&\|]
.RB "[\|" \-m\c .RB "[\|" \-m
.I emulation\c .I emulation\c
\&\|] \&\|]
.RB "[\|" \-n | \-N "\|]" .RB "[\|" \-n | \-N "\|]"
@ -86,7 +86,7 @@ ld \- the GNU linker
.RB "[\|" \-s "\|]" .RB "[\|" \-s "\|]"
.RB "[\|" \-shared "\|]" .RB "[\|" \-shared "\|]"
.RB "[\|" \-sort\-common "\|]" .RB "[\|" \-sort\-common "\|]"
.RB "[\|" \-split\-by\-reloc\ "\c .RB "[\|" "\-split\-by\-reloc\ "\c
.I count\c .I count\c
\&\|] \&\|]
.RB "[\|" \-split\-by\-file "\|]" .RB "[\|" \-split\-by\-file "\|]"
@ -257,8 +257,7 @@ whitespace, or be given as separate arguments immediately following the
option that requires them. option that requires them.
.TP .TP
.BI "-A" "architecture"\c .BI "-A" "architecture"
\&
In the current release of \c In the current release of \c
.B ld\c .B ld\c
\&, this option is useful only for the \&, this option is useful only for the
@ -314,13 +313,11 @@ You can meaningfully use \c
\& more than once on a command line, if \& more than once on a command line, if
an architecture family allows combination of target architectures; each an architecture family allows combination of target architectures; each
use will add another pair of name variants to search for when \c use will add another pair of name variants to search for when \c
.B \-l\c .B \-l
\&
specifies a library. specifies a library.
.TP .TP
.BI "\-b " "input-format"\c .BI "\-b " "input-format"
\&
Specify the binary format for input object files that follow this option Specify the binary format for input object files that follow this option
on the command line. You don't usually need to specify this, as on the command line. You don't usually need to specify this, as
\c \c
@ -376,8 +373,7 @@ definition within the shared library. This option is only meaningful
on ELF platforms which support shared libraries. on ELF platforms which support shared libraries.
.TP .TP
.BI "\-c " "commandfile"\c .BI "\-c " "commandfile"
\&
Directs \c Directs \c
.B ld\c .B ld\c
\& to read link commands from the file \& to read link commands from the file
@ -407,8 +403,7 @@ line by bracketing it between `\|\c
.B \-dp .B \-dp
These three options are equivalent; multiple forms are supported for These three options are equivalent; multiple forms are supported for
compatibility with other linkers. Use any of them to make \c compatibility with other linkers. Use any of them to make \c
.B ld\c .B ld
\&
assign space to common symbols even if a relocatable output file is assign space to common symbols even if a relocatable output file is
specified (\c specified (\c
.B \-r\c .B \-r\c
@ -418,10 +413,7 @@ specified (\c
\& has the same effect. \& has the same effect.
.TP .TP
.BI "-defsym " "symbol"\c .BI "-defsym " "symbol" "\fR = \fP" expression
\& = \c
.I expression\c
\&
Create a global symbol in the output file, containing the absolute Create a global symbol in the output file, containing the absolute
address given by \c address given by \c
.I expression\c .I expression\c
@ -462,8 +454,7 @@ testsuite/ld-empic for details.
.TP .TP
.B \-F .B \-F
.TP .TP
.BI "-F" "format"\c .BI "-F" "format"
\&
Some older linkers used this option throughout a compilation toolchain Some older linkers used this option throughout a compilation toolchain
for specifying object-file format for both input and output object for specifying object-file format for both input and output object
files. \c files. \c
@ -485,8 +476,7 @@ but it accepts (and ignores) the \c
with scripts written to call the old linker. with scripts written to call the old linker.
.TP .TP
.BI "\-format " "input\-format"\c .BI "\-format " "input\-format"
\&
Synonym for \c Synonym for \c
.B \-b\c .B \-b\c
\& \c \& \c
@ -533,13 +523,11 @@ path-list for occurrences of \c
.I ar\c .I ar\c
\&.a\c \&.a\c
\& for every \c \& for every \c
.I ar\c .I ar
\&
specified. specified.
.TP .TP
.BI "\-L" "searchdir"\c .BI "\-L" "searchdir"
\&
This command adds path \c This command adds path \c
.I searchdir\c .I searchdir\c
\& to the list of paths that \& to the list of paths that
@ -556,8 +544,7 @@ The default set of paths searched (without being specified with
\& is using, and in \& is using, and in
some cases also on how it was configured. The some cases also on how it was configured. The
paths can also be specified in a link script with the \c paths can also be specified in a link script with the \c
.B SEARCH_DIR\c .B SEARCH_DIR
\&
command. command.
.TP .TP
@ -629,11 +616,7 @@ tables as necessary. This may be required if the linker runs out of
memory space while linking a large executable. memory space while linking a large executable.
.TP .TP
.BI "\-o " "output"\c .BI "\-o " "output"
\&
.I output\c
\&
\c
.I output\c .I output\c
\& is a name for the program produced by \c \& is a name for the program produced by \c
.B ld\c .B ld\c
@ -646,8 +629,7 @@ script command \c
\& can also specify the output file name. \& can also specify the output file name.
.TP .TP
.BI "\-oformat " "output\-format"\c .BI "\-oformat " "output\-format"
\&
Specify the binary format for the output object file. Specify the binary format for the output object file.
You don't usually need to specify this, as You don't usually need to specify this, as
\c \c
@ -662,10 +644,7 @@ The script command
can also specify the output format, but this option overrides it. can also specify the output format, but this option overrides it.
.TP .TP
.BI "\-R " "filename"\c .BI "\-R " "filename"
\&
.I file\c
\&
Read symbol names and their addresses from \c Read symbol names and their addresses from \c
.I filename\c .I filename\c
\&, but do not \&, but do not
@ -778,10 +757,7 @@ Use \c
\& must be a hexadecimal integer. \& must be a hexadecimal integer.
.TP .TP
.BI "\-T " "commandfile"\c .BI "\-T " "commandfile"
\&
.TP
.BI "\-T" "commandfile"\c
Equivalent to \c Equivalent to \c
.B \-c \c .B \-c \c
.I commandfile\c .I commandfile\c
@ -815,9 +791,7 @@ For anything other than C++ programs, this option is equivalent to
turn serve as input to \c turn serve as input to \c
.B ld\c .B ld\c
\&. When linking C++ programs, \c \&. When linking C++ programs, \c
.B \-Ur\c .B \-Ur
\&
\c
.I will\c .I will\c
\& resolve references to constructors, unlike \c \& resolve references to constructors, unlike \c
.B \-r\c .B \-r\c