aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-04-15 12:39:54 +0930
committerAlan Modra <amodra@gmail.com>2020-04-15 12:45:41 +0930
commitc98a4545dc7bf2bcaf1de539c4eb84784680eaa4 (patch)
tree70384da0fc1967ec49bba33bd2197fb8933d6ddb /binutils
parent6a0541414523df7b04338e540a1607160b9f09e3 (diff)
downloadgdb-c98a4545dc7bf2bcaf1de539c4eb84784680eaa4.zip
gdb-c98a4545dc7bf2bcaf1de539c4eb84784680eaa4.tar.gz
gdb-c98a4545dc7bf2bcaf1de539c4eb84784680eaa4.tar.bz2
Re: readelf: Consolidate --syms --use-dynamic with --dyn-syms
PR 25821 * readelf.c (get_num_dynamic_syms): Typo fix.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 33ca3e9..63e9085 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 9149bb8..efcd6f3 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;
}