Re: readelf: Consolidate --syms --use-dynamic with --dyn-syms
authorAlan Modra <amodra@gmail.com>
Wed, 15 Apr 2020 03:09:54 +0000 (12:39 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 15 Apr 2020 03:15:41 +0000 (12:45 +0930)
PR 25821
* readelf.c (get_num_dynamic_syms): Typo fix.

binutils/ChangeLog
binutils/readelf.c

index 33ca3e93e282af3ba2a64bbc7cadc7375e43e365..63e9085b7fc48fc873efa710e56fcf5b1781ba08 100644 (file)
@@ -1,3 +1,8 @@
+2020-04-15  Alan Modra  <amodra@gmail.com>
+
+       PR 25821
+       * readelf.c (get_num_dynamic_syms): Typo fix.
+
 2020-04-14  Alan Modra  <amodra@gmail.com>
 
        * readelf.c (process_mips_specific): Free eopt and iopt.  Avoid
index 9149bb8ce4d79653b614ef781354943f3bc76d28..efcd6f30e763f160c8e10697cab941a368839472 100644 (file)
@@ -9997,7 +9997,7 @@ get_num_dynamic_syms (Filedata * filedata)
          if (chains)
            {
              free (chains);
-             buckets = NULL;
+             chains = NULL;
            }
          nbuckets = 0;
        }