aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 33ed0e6..32047ad 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-01 Alan Modra <amodra@bigpond.net.au>
+
+ * objdump.c (objdump_print_addr): Initialise "sym".
+
2008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
Nick Clifton <nickc@redhat.com>
diff --git a/binutils/objdump.c b/binutils/objdump.c
index c46d269..b348025 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -877,7 +877,7 @@ objdump_print_addr (bfd_vma vma,
bfd_boolean skip_zeroes)
{
struct objdump_disasm_info *aux;
- asymbol *sym;
+ asymbol *sym = NULL;
bfd_boolean skip_find = FALSE;
aux = (struct objdump_disasm_info *) info->application_data;