aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.1
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-06-04 23:37:13 +0000
committerIan Lance Taylor <ian@airs.com>1996-06-04 23:37:13 +0000
commit07acd23b7722cfb82c19da8cd6a1d84f73c0047e (patch)
treef43a144ea03233953df42cd3f46303caa36e50cf /ld/ld.1
parent26145b159a5a9aebe65b5862635aa21e022a9a8f (diff)
downloadgdb-07acd23b7722cfb82c19da8cd6a1d84f73c0047e.zip
gdb-07acd23b7722cfb82c19da8cd6a1d84f73c0047e.tar.gz
gdb-07acd23b7722cfb82c19da8cd6a1d84f73c0047e.tar.bz2
* ldcref.c: New file.
* ld.h (add_cref, output_cref): Declare. * ldmain.c (main): Initialize notice_all field. If it is set at end of link, call output_cref. (notice): Rename from notice_ysym. Check notice_all. * ldmisc.c (finfo): Make globally visible. * ldmisc.h (finfo): Declare. * lexsup.c (OPTION_CREF): Define. (ld_options): Add "cref". (parse_args): Handle OPTION_CREF. * Makefile.in: Rebuild dependencies. (CFILES): Add ldcref.c. (OFILES): Add ldcref.o. * ld.texinfo, ld.1: Document --cref.
Diffstat (limited to 'ld/ld.1')
-rw-r--r--ld/ld.17
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ld.1 b/ld/ld.1
index 1037e2a..ef3633e 100644
--- a/ld/ld.1
+++ b/ld/ld.1
@@ -33,6 +33,7 @@ ld \- the GNU linker
.RB "[\|" "\-c\ "\c
.I commandfile\c
\&\|]
+.RB "[\|" \-\-cref "\|]"
.RB "[\|" \-d | \-dc | \-dp\c
\|]
.br
@@ -409,6 +410,12 @@ line by bracketing it between `\|\c
\|' characters.
.TP
+.B \-\-cref
+Output a cross reference table. If a linker map file is being
+generated, the cross reference table is printed to the map file.
+Otherwise, it is printed on the standard output.
+
+.TP
.B \-d
.TP
.B \-dc