From 5115b233c73da4be7fd524c032a1a0154de5e833 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 1 Mar 2011 00:02:32 +0000 Subject: [PATCH] PR binutils/12523 * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 1 + 2 files changed, 6 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 7d0b89d2089..76749d9718c 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2011-03-01 Akos Pasztory + + PR binutils/12523 + * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH. + 2011-02-28 Kai Tietz * debug.c (debug_start_source): Use filename_(n)cmp. diff --git a/binutils/readelf.c b/binutils/readelf.c index d17537aa52a..fedf771cd55 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) -- 2.30.2