* 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.
This commit is contained in:
parent
26145b159a
commit
07acd23b77
@ -45,6 +45,7 @@ ld.1
|
|||||||
gen-doc.texi
|
gen-doc.texi
|
||||||
ld.h
|
ld.h
|
||||||
ld.texinfo
|
ld.texinfo
|
||||||
|
ldcref.c
|
||||||
ldctor.c
|
ldctor.c
|
||||||
ldctor.h
|
ldctor.h
|
||||||
ldemul.c
|
ldemul.c
|
||||||
|
17
ld/ChangeLog
17
ld/ChangeLog
@ -1,3 +1,20 @@
|
|||||||
|
Tue Jun 4 18:43:07 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
Tue Jun 4 12:12:25 1996 Tom Tromey <tromey@csk3.cygnus.com>
|
Tue Jun 4 12:12:25 1996 Tom Tromey <tromey@csk3.cygnus.com>
|
||||||
|
|
||||||
* Makefile.in (install): Make $(tooldir) and $(tooldir)/bin.
|
* Makefile.in (install): Make $(tooldir) and $(tooldir)/bin.
|
||||||
|
7
ld/ld.1
7
ld/ld.1
@ -33,6 +33,7 @@ ld \- the GNU linker
|
|||||||
.RB "[\|" "\-c\ "\c
|
.RB "[\|" "\-c\ "\c
|
||||||
.I commandfile\c
|
.I commandfile\c
|
||||||
\&\|]
|
\&\|]
|
||||||
|
.RB "[\|" \-\-cref "\|]"
|
||||||
.RB "[\|" \-d | \-dc | \-dp\c
|
.RB "[\|" \-d | \-dc | \-dp\c
|
||||||
\|]
|
\|]
|
||||||
.br
|
.br
|
||||||
@ -408,6 +409,12 @@ line by bracketing it between `\|\c
|
|||||||
.B }\c
|
.B }\c
|
||||||
\|' characters.
|
\|' 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
|
.TP
|
||||||
.B \-d
|
.B \-d
|
||||||
.TP
|
.TP
|
||||||
|
Loading…
Reference in New Issue
Block a user