mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-29 06:50:32 +00:00
Document -Map option.
This commit is contained in:
parent
d57528d1ce
commit
d18a45278e
13
ld/ld.1
13
ld/ld.1
@ -61,6 +61,9 @@ ld \- the GNU linker
|
||||
.I searchdir\c
|
||||
\&\|]
|
||||
.RB "[\|" \-M "\|]"
|
||||
.RB "[\|" \-Map\c
|
||||
.I mapfile\c
|
||||
\&\|]
|
||||
.RB "[\|" \-m\c
|
||||
.I emulation\c
|
||||
\&\|]
|
||||
@ -516,6 +519,16 @@ about where symbols are mapped by \c
|
||||
\&, and information on global
|
||||
common storage allocation.
|
||||
|
||||
.TP
|
||||
.BI "\-Map " "mapfile"\c
|
||||
Print to the file
|
||||
.I mapfile
|
||||
a link map\(em\&diagnostic information
|
||||
about where symbols are mapped by \c
|
||||
.B ld\c
|
||||
\&, and information on global
|
||||
common storage allocation.
|
||||
|
||||
.TP
|
||||
.BI "\-m " "emulation"\c
|
||||
Emulate the
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user