15996d5
--- ../binutils-2.19.50.0.1.orig/bfd/elfcode.h	2008-11-26 09:29:54.000000000 +0000
15996d5
+++ ./bfd/elfcode.h	2008-11-26 12:01:37.000000000 +0000
15996d5
@@ -1170,6 +1170,19 @@ elf_checksum_contents (bfd *abfd,
15996d5
 
15996d5
       if (i_shdr.contents)
15996d5
 	(*process) (i_shdr.contents, i_shdr.sh_size, arg);
15996d5
+      else
15996d5
+	{
15996d5
+	  asection *sec;
15996d5
+
15996d5
+	  sec = bfd_section_from_elf_index (abfd, count);
15996d5
+	  if (sec != NULL)
15996d5
+	    {
15996d5
+	      if (sec->contents == NULL)
15996d5
+		bfd_malloc_and_get_section (abfd, sec, & sec->contents);
15996d5
+	      if (sec->contents != NULL)
15996d5
+		(*process) (sec->contents, i_shdr.sh_size, arg);
15996d5
+	    }
15996d5
+	}
15996d5
     }
15996d5
 
15996d5
   return TRUE;