*** ../binutils-2.23.2.orig/bfd/elf32-xtensa.c 2013-08-12 11:34:01.224216581 +0100 --- bfd/elf32-xtensa.c 2013-08-12 11:34:57.932218153 +0100 *************** clear_section_cache (section_cache_t *se *** 6075,6081 **** release_internal_relocs (sec_cache->sec, sec_cache->relocs); if (sec_cache->ptbl) free (sec_cache->ptbl); ! memset (sec_cache, 0, sizeof (sec_cache)); } } --- 6075,6081 ---- release_internal_relocs (sec_cache->sec, sec_cache->relocs); if (sec_cache->ptbl) free (sec_cache->ptbl); ! memset (sec_cache, 0, sizeof (* sec_cache)); } } *************** section_cache_section (section_cache_t * *** 6117,6123 **** /* Fill in the new section cache. */ clear_section_cache (sec_cache); ! memset (sec_cache, 0, sizeof (sec_cache)); sec_cache->sec = sec; sec_cache->contents = contents; --- 6117,6123 ---- /* Fill in the new section cache. */ clear_section_cache (sec_cache); ! memset (sec_cache, 0, sizeof (* sec_cache)); sec_cache->sec = sec; sec_cache->contents = contents;