aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-01-17 02:24:47 +0000
committerAlan Modra <amodra@gmail.com>2013-01-17 02:24:47 +0000
commitc32d6f7bd43c74fbe950858502e6e9ba6eaca2af (patch)
tree64231cbbbbeb2d6230660cfd88a6522c6d35fb0d /binutils
parenta880d4c4d4a102b195c9532f4222f5ad4546878d (diff)
downloadfsf-binutils-gdb-c32d6f7bd43c74fbe950858502e6e9ba6eaca2af.zip
fsf-binutils-gdb-c32d6f7bd43c74fbe950858502e6e9ba6eaca2af.tar.gz
fsf-binutils-gdb-c32d6f7bd43c74fbe950858502e6e9ba6eaca2af.tar.bz2
* objdump.c (dump_target_specific): Fix NULL pointer test.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/objdump.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 5b8916b..d5f6e5d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
+
+ * objdump.c (dump_target_specific): Fix NULL pointer test.
+
2013-01-16 Alan Modra <amodra@gmail.com>
PR binutils/15018
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 9164d83..394a647 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -2651,7 +2651,7 @@ dump_target_specific (bfd *abfd)
if ((*desc)->filter (abfd))
break;
- if (desc == NULL)
+ if (*desc == NULL)
{
non_fatal (_("option -P/--private not supported by this file"));
return;