* od-elf32_avr.c (elf32_avr_dump_mem_usage): Fix device initialization.
authorDenis Chertykov <chertykov@gmail.com>
Tue, 9 Dec 2014 17:00:18 +0000 (20:00 +0300)
committerDenis Chertykov <chertykov@gmail.com>
Tue, 9 Dec 2014 17:00:18 +0000 (20:00 +0300)
binutils/ChangeLog
binutils/od-elf32_avr.c

index 845eed4754e70cfe7858c6ca00ec5811932515da..ceab9032f1a9f90cf85f741b5a5588b972e188d0 100644 (file)
@@ -1,3 +1,7 @@
+2014-12-09  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * od-elf32_avr.c (elf32_avr_dump_mem_usage): Fix device initialization.
+
 2014-12-09  Nick Clifton  <nickc@redhat.com>
 
        PR binutils/17512
index 7a0a21216cd907edf10ab8ffea0e3c5db2d0153f..ced30c4e98c1cfb8ad141a3945d3edbb47f7e129 100644 (file)
@@ -181,7 +181,7 @@ elf32_avr_dump_mem_usage (bfd *abfd)
   char *description = NULL;
   bfd_size_type note_section_size = 0;
 
-  deviceinfo device = {0};
+  deviceinfo device = { 0, 0, 0, 0, 0, 0, NULL };
   device.name = "Unknown";
 
   bfd_size_type data_usage = 0;