aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.1
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1993-06-26 20:13:24 +0000
committerDavid MacKenzie <djm@cygnus>1993-06-26 20:13:24 +0000
commitbf065bfd97d1a0c8f0d2a10b1cfcdb3a99bbd973 (patch)
tree8f7ba1939cc76dd6d36b68b3dd02553cbe4896e4 /ld/ld.1
parent3caa6924bc1dcafba0c5515591a3aec6daf7714a (diff)
downloadgdb-bf065bfd97d1a0c8f0d2a10b1cfcdb3a99bbd973.zip
gdb-bf065bfd97d1a0c8f0d2a10b1cfcdb3a99bbd973.tar.gz
gdb-bf065bfd97d1a0c8f0d2a10b1cfcdb3a99bbd973.tar.bz2
* ldver.c (help): New function.
* ldver.h: Declare it. * ldlex.l, ldgram.y: Recognize new options --help and --version.
Diffstat (limited to 'ld/ld.1')
-rw-r--r--ld/ld.117
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/ld.1 b/ld/ld.1
index e0eb6d0..f6eec25 100644
--- a/ld/ld.1
+++ b/ld/ld.1
@@ -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
@@ -466,6 +468,15 @@ to
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
.B \-r\c
@@ -743,6 +754,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
.B \-s\c