summaryrefslogtreecommitdiff
path: root/binutils/bucomm.h
diff options
context:
space:
mode:
authorAnt Bikeneev <ant.bikineev@gmail.com>2018-05-30 17:06:26 +0100
committerNick Clifton <nickc@redhat.com>2018-05-30 17:08:03 +0100
commit1869e86f2eb13a9e1d1c42b97cdb98fef88afd83 (patch)
tree18f71cb0a58e06370f41152a3393130306b163fd /binutils/bucomm.h
parentfdbe37e35fed48091296434652101a63fa4360cf (diff)
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.
Diffstat (limited to 'binutils/bucomm.h')
-rw-r--r--binutils/bucomm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/bucomm.h b/binutils/bucomm.h
index cb97957b92..c49cc7eb2a 100644
--- a/binutils/bucomm.h
+++ b/binutils/bucomm.h
@@ -49,7 +49,7 @@ void list_supported_architectures (const char *, FILE *);
int display_info (void);
-void print_arelt_descr (FILE *, bfd *, bfd_boolean);
+void print_arelt_descr (FILE *, bfd *, bfd_boolean, bfd_boolean);
char *make_tempname (char *);
char *make_tempdir (char *);