aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1993-06-17 23:23:48 +0000
committerDavid MacKenzie <djm@cygnus>1993-06-17 23:23:48 +0000
commitd18a45278e73ae05ed85e5bbb0489a6cca9dab77 (patch)
tree34b3acd45eb6893ba098dbd175cae99f62fa8ddb /ld/ld.texinfo
parentd57528d1ce56c777e40d7c9416af5e91af2cb88d (diff)
downloadgdb-d18a45278e73ae05ed85e5bbb0489a6cca9dab77.zip
gdb-d18a45278e73ae05ed85e5bbb0489a6cca9dab77.tar.gz
gdb-d18a45278e73ae05ed85e5bbb0489a6cca9dab77.tar.bz2
Document -Map option.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo19
1 files changed, 13 insertions, 6 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 33317d6..da90aa0 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -169,12 +169,12 @@ ld [-o @var{output} ] @var{objfile}@dots{}
[ -defsym @var{symbol}=@var{expression} ]
[ -e @var{entry} ] [ -F ] [ -F @var{format} ]
[ -format @var{input-format} ] [ -g ] [ -G @var{size} ] [ -i ]
- [ -l@var{ar} ] [ -L@var{searchdir} ] [ -M ] [ -m @var{emulation} ]
- [ -N | -n ] [ -noinhibit-exec ] [ -R @var{filename} ]
- [ -relax ] [ -r | -Ur ] [ -S ] [ -s ] [ -T @var{commandfile} ]
- [ -Ttext @var{textorg} ] [ -Tdata @var{dataorg} ] [ -Tbss @var{bssorg} ]
- [ -t ] [ -u @var{sym}] [-V] [-v] [ -X ] [ -x ] [ -y@var{symbol} ]
- [ @{ @var{script} @} ]
+ [ -l@var{ar} ] [ -L@var{searchdir} ] [ -M ] [ -Map @var{mapfile} ]
+ [ -m @var{emulation} ] [ -N | -n ] [ -noinhibit-exec ]
+ [ -R @var{filename} ] [ -relax ] [ -r | -Ur ] [ -S ] [ -s ]
+ [ -T @var{commandfile} ] [ -Ttext @var{textorg} ] [ -Tdata @var{dataorg} ]
+ [ -Tbss @var{bssorg} ] [ -t ] [ -u @var{sym}] [-V] [-v] [ -X ] [-x ]
+ [ -y@var{symbol} ] [ @{ @var{script} @} ]
@end smallexample
This plethora of command-line options may seem intimidating, but in
@@ -391,6 +391,13 @@ Print (to the standard output) a link map---diagnostic information
about where symbols are mapped by @code{ld}, and information on global
common storage allocation.
+@cindex link map
+@kindex -Map
+@item -Map @var{mapfile}
+Print to the file @var{mapfile} a link map---diagnostic information
+about where symbols are mapped by @code{ld}, and information on global
+common storage allocation.
+
@cindex emulation
@kindex -m @var{emulation}
@item -m@var{emulation}