aboutsummaryrefslogtreecommitdiff
path: root/binutils
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
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')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index f0ab054..7c3018f 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-03 Nick Clifton <nickc@redhat.com>
+
+ * readelf.c (process_archive): Display member indicies when
+ dumping index.
+
2012-07-02 Tom Tromey <tromey@redhat.com>
* dwarf.c: Include gdb-index.h.
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);
}
}