aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-03-01 00:02:32 +0000
committerAlan Modra <amodra@gmail.com>2011-03-01 00:02:32 +0000
commit5115b233c73da4be7fd524c032a1a0154de5e833 (patch)
tree157d6c338388ed1b802eafca9954d980cc940556 /binutils
parent55e58852b9a0d5365058aa4932202c0e2d2d66c7 (diff)
downloadgdb-5115b233c73da4be7fd524c032a1a0154de5e833.zip
gdb-5115b233c73da4be7fd524c032a1a0154de5e833.tar.gz
gdb-5115b233c73da4be7fd524c032a1a0154de5e833.tar.bz2
PR binutils/12523
* readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 7d0b89d..76749d9 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-01 Akos Pasztory <akos.pasztory@gmail.com>
+
+ PR binutils/12523
+ * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
+
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* debug.c (debug_start_source): Use filename_(n)cmp.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index d17537a..fedf771 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -12377,6 +12377,7 @@ process_object (char * file_name, FILE * file)
for (i = ARRAY_SIZE (dynamic_info); i--;)
dynamic_info[i] = 0;
+ dynamic_info_DT_GNU_HASH = 0;
/* Process the file. */
if (show_name)