From: Alan Modra Date: Wed, 15 Apr 2020 03:09:54 +0000 (+0930) Subject: Re: readelf: Consolidate --syms --use-dynamic with --dyn-syms X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c98a4545dc7bf2bcaf1de539c4eb84784680eaa4;p=binutils-gdb.git Re: readelf: Consolidate --syms --use-dynamic with --dyn-syms PR 25821 * readelf.c (get_num_dynamic_syms): Typo fix. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 33ca3e93e28..63e9085b7fc 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2020-04-15 Alan Modra + + PR 25821 + * readelf.c (get_num_dynamic_syms): Typo fix. + 2020-04-14 Alan Modra * readelf.c (process_mips_specific): Free eopt and iopt. Avoid diff --git a/binutils/readelf.c b/binutils/readelf.c index 9149bb8ce4d..efcd6f30e76 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -9997,7 +9997,7 @@ get_num_dynamic_syms (Filedata * filedata) if (chains) { free (chains); - buckets = NULL; + chains = NULL; } nbuckets = 0; }