aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-07-03 16:25:17 +0000
committerNick Clifton <nickc@redhat.com>2012-07-03 16:25:17 +0000
commit5f8ebec53d47aacc4dc1d67f3c9b0117539b2468 (patch)
tree9e8782d177aba96110ec1d0ab0bb3af0b7e727eb /binutils/readelf.c
parent00595b5e791b2326344340ad568e76c05b3ad402 (diff)
downloadgdb-5f8ebec53d47aacc4dc1d67f3c9b0117539b2468.zip
gdb-5f8ebec53d47aacc4dc1d67f3c9b0117539b2468.tar.gz
gdb-5f8ebec53d47aacc4dc1d67f3c9b0117539b2468.tar.bz2
* archive.c (bsd_write_armap): Catch attempts to create an archive
with indicies bigger than 4Gb. (coff_write_armap): Likewise. * readelf.c (process_archive): Display member indicies when dumping index.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index b1bacfd..2fcd582 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -13459,7 +13459,8 @@ process_archive (char * file_name, FILE * file, bfd_boolean is_thin_archive)
if (qualified_name != NULL)
{
- printf (_("Binary %s contains:\n"), qualified_name);
+ printf (_("Binary %s at offset 0x%lx contains:\n"),
+ qualified_name, arch.index_array[i]);
free (qualified_name);
}
}