summaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-08-23 13:37:06 +0000
committerNick Clifton <nickc@redhat.com>2013-08-23 13:37:06 +0000
commitc18906e02b78a4c9b7481e19c9bb0a35791f92c9 (patch)
tree967624531d39bba6a19f66bb865a3ab02a6f1113 /binutils
parent1a03fc41817bdfd761b094639de19535ec18a818 (diff)
downloadbinutils-redhat-c18906e02b78a4c9b7481e19c9bb0a35791f92c9.tar.gz
PR binutils/15798
* doc/binutils.texi (ar cmdline): Update description of 'q' command.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/doc/binutils.texi15
2 files changed, 15 insertions, 6 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 6d425f26cc..af2699716f 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+2013-08-23 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/15798
+ * doc/binutils.texi (ar cmdline): Update description of 'q'
+ command.
+
2013-08-23 Yuri Chornoivan <yurchor@ukr.net>
PR binutils/15834
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 4913adca92..0c4bd5c22c 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -325,12 +325,15 @@ operation; new members are always placed at the end of the archive.
The modifier @samp{v} makes @command{ar} list each file as it is appended.
-Since the point of this operation is speed, the archive's symbol table
-index is not updated, even if it already existed; you can use @samp{ar s} or
-@command{ranlib} explicitly to update the symbol table index.
-
-However, too many different systems assume quick append rebuilds the
-index, so @sc{gnu} @command{ar} implements @samp{q} as a synonym for @samp{r}.
+Since the point of this operation is speed, implementations of
+@command{ar} have the option of not updating the archive's symbol
+table if one exists. Too many different systems however assume that
+symbol tables are always up-to-date, so @sc{gnu} @command{ar} will
+rebuild the table even with a quick append.
+
+Note - @sc{gnu} @command{ar} treats the command @samp {qs} as a
+synonym for @samp{r} - replacing already existing files in the
+archive and appending new ones at the end.
@item r
@cindex replacement in archive