aboutsummaryrefslogtreecommitdiff
path: root/binutils/ranlib.1
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1993-06-28 02:17:13 +0000
committerDavid MacKenzie <djm@cygnus>1993-06-28 02:17:13 +0000
commitb26ac61376d5075ba809a72b04aeda402d8bc402 (patch)
tree732e9ad94b516a8c8ee7322f71cd1216e454b1b6 /binutils/ranlib.1
parent6214895281c6ab1032c99a3f1a644ad3d3575be3 (diff)
downloadgdb-b26ac61376d5075ba809a72b04aeda402d8bc402.zip
gdb-b26ac61376d5075ba809a72b04aeda402d8bc402.tar.gz
gdb-b26ac61376d5075ba809a72b04aeda402d8bc402.tar.bz2
* Makefile.in: Note dependencies on bucomm.h.
(cplus-dem.o): Link c++filt with version.o. * strings.c: Include bucomm.h and add prototypes to other decls. Remove -h option. * bucomm.h: Declare xrealloc. * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add --help option. Put "GNU" in the version message. (usage): Take stream and exit status as args. (main): Pass new args to usage.
Diffstat (limited to 'binutils/ranlib.1')
-rw-r--r--binutils/ranlib.146
1 files changed, 25 insertions, 21 deletions
diff --git a/binutils/ranlib.1 b/binutils/ranlib.1
index 9668f83..ea120f6 100644
--- a/binutils/ranlib.1
+++ b/binutils/ranlib.1
@@ -14,38 +14,42 @@ ranlib\(em\&generate index to archive.
.hy 0
.na
.B ranlib \c
+.RB "[\|" \-v | \-V "\|]"
.I archive\c
\&
.ad b
.hy 1
.SH DESCRIPTION
-\c
-.B ranlib\c
-\& generates an index to the contents of an archive, and
+.B ranlib
+generates an index to the contents of an archive, and
stores it in the archive. The index lists each symbol defined by a
member of an archive that is a relocatable object file.
-
-You may use `\|\c
-.B nm \-s\c
-\|' or `\|\c
-.B nm +print-armap\c
-\|' to list this index.
-
+.PP
+You may use
+.RB ` "nm \-s" '
+or
+.RB ` "nm \-\-print-armap" '
+to list this index.
+.PP
An archive with such an index speeds up linking to the library, and
allows routines in the library to call each other without regard to
their placement in the archive.
+.PP
+The GNU
+.B ranlib
+program is another form of GNU
+.BR ar ;
+running
+.B ranlib
+is completely equivalent to executing
+.RB ` "ar \-s" '.
-The GNU \c
-.B ranlib\c
-\& program is another form of GNU \c
-.B ar\c
-\&; running
-\c
-.B ranlib\c
-\& is completely equivalent to executing `\|\c
-.B ar \-s\c
-\|'.
-
+.SH OPTIONS
+.TP
+.B \-v
+Print the version number of
+.B ranlib
+and exit.
.SH "SEE ALSO"
.RB "`\|" binutils "\|'"