From: Alan Modra Date: Tue, 1 Mar 2011 00:02:32 +0000 (+0000) Subject: PR binutils/12523 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5115b233c73da4be7fd524c032a1a0154de5e833;p=binutils-gdb.git PR binutils/12523 * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH. --- 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)