Add option to ar's 't' command to display the offset of elements within the archive.
authorAnt Bikeneev <ant.bikineev@gmail.com>
Wed, 30 May 2018 16:06:26 +0000 (17:06 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 30 May 2018 16:08:03 +0000 (17:08 +0100)
commit1869e86f2eb13a9e1d1c42b97cdb98fef88afd83
tree18f71cb0a58e06370f41152a3393130306b163fd
parentfdbe37e35fed48091296434652101a63fa4360cf
Add option to ar's 't' command to display the offset of elements within the archive.

PR 23107
* ar.c (display_offsets): New variable.
(usage): Add description of 'O' operator.
(decode_option): Handle 'O' operator.
(print_descr): Pass display_offsets to print_arelt_descr.
* arsup.c: Update call to printy_arelt_descr.
* objdump.c: Likewise.
* bucomm.c (print_arelt_descr): If offsets parameter is true then
display offset of archive element within the archive.
* bucomm.h: Update prototype for print_arelt_descr.
* doc/binutils.texi: Update description of ar command.
* NEWS: Mention the new feature.
* testsuite/binutils-all/ar.exp: Add text of new feature.
binutils/ChangeLog
binutils/NEWS
binutils/ar.c
binutils/arsup.c
binutils/bucomm.c
binutils/bucomm.h
binutils/doc/binutils.texi
binutils/objdump.c
binutils/testsuite/binutils-all/ar.exp
This page took 0.028333 seconds and 4 git commands to generate.