http://sourceware.org/bugzilla/show_bug.cgi?id=15798
Bug ID: 15798
Summary: ar q is NOT a synonym for ar r contrary to its
documentation
Product: binutils
Version: 2.24 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: mikpe at it dot uu.se
The documentation for 'ar q' states:
"However, ..., so GNU ar implements q as a synonym for r."
In reality ar q behaves in the traditional way and not at all like ar r:
> echo nop > foo.s ; gas/as-new -o foo.o foo.s; binutils/ar rc foo.a foo.o
> binutils/ar tv foo.a
rw-r--r-- 500/500 657 Jul 28 20:34 2013 foo.o
> echo bar >> foo.o
> binutils/ar r foo.a foo.o
> binutils/ar tv foo.a
rw-r--r-- 500/500 661 Jul 28 20:35 2013 foo.o
> echo fie >> foo.o
> binutils/ar q foo.a foo.o
> binutils/ar tv foo.a
rw-r--r-- 500/500 661 Jul 28 20:35 2013 foo.o
rw-r--r-- 500/500 665 Jul 28 20:36 2013 foo.o
I suggest deleting this grossly misleading statement from the documentation.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils