* ldver.c (help): New function.

* ldver.h: Declare it.
	* ldlex.l, ldgram.y: Recognize new options --help and --version.
This commit is contained in:
David MacKenzie 1993-06-26 20:13:24 +00:00
parent 3caa6924bc
commit bf065bfd97
2 changed files with 28 additions and 1 deletions

View File

@ -1,10 +1,20 @@
Sat Jun 26 12:03:57 1993 David J. Mackenzie (djm@thepub.cygnus.com)
* ldver.c (help): New function.
* ldver.h: Declare it.
* ldlex.l, ldgram.y: Recognize new options --help and --version.
Mon Jun 21 20:39:48 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
* Makefile.in (INCLUDES): Don't need ../include any more.
Mon Jun 21 16:38:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
* .Sanitize (Things-to-keep): Add emulparams, emultempl, scripttempl.
* ldlex.l, ldgram.y: Support new -oformat option.
Remove attempt at supporting script fragments on the command line.
* ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT.
* mri.c (mri_format), ldgram.y: Change callers.
* ldlang.h: Change prototype.
Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com)

17
ld/ld.1
View File

@ -53,6 +53,7 @@ ld \- the GNU linker
.RB "[\|" \-G\c
.I size\c
\&\|]
.RB "[\|" \-\-help "\|]"
.RB "[\|" \-i "\|]"
.RB "[\|" \-l\c
.I ar\c
@ -97,6 +98,7 @@ ld \- the GNU linker
\&]
.RB "[\|" \-V "\|]"
.RB "[\|" \-v "\|]"
.RB "[\|" \-\-version "\|]"
.RB "[\|" \-X "\|]"
.RB "[\|" \-x "\|]"
.ad b
@ -465,6 +467,15 @@ to
.I size
under MIPS ECOFF. Ignored for other object file formats.
.TP
.B \-\-help
Print a summary of the command-line options on the standard output and exit.
This option and
.B \-\-version
begin with two dashes instead of one
for compatibility with other GNU programs. The other options start with
only one dash for compatibility with other linkers.
.TP
.B \-i
Perform an incremental link (same as option \c
@ -742,6 +753,12 @@ Display the version number for \c
\&.
Print which input files can and can not be opened.
.TP
.B \-\-version
Display the version number for \c
.B ld
and exit.
.TP
.B \-X
If \c