------- Additional Comments From hjl dot tools at gmail dot com 2010-07-14
04:33 -------
This patch:
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 6983a1c..b1985a0 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -436,17 +436,9 @@ read_and_uncompress_section (bfd * abfd,
if (syms)
{
- /* We want to relocate the data we've already read (and
- decompressed), so we store a pointer to the data in
- the bfd_section, and tell it that the contents are
- already in memory. */
- BFD_ASSERT (msec->contents == NULL && (msec->flags & SEC_IN_MEMORY) ==
0);
- msec->contents = *section_buffer;
- msec->flags |= SEC_IN_MEMORY;
- msec->size = *section_size;
- *section_buffer
- = bfd_simple_get_relocated_section_contents (abfd, msec, NULL, syms);
- if (! *section_buffer)
+ if (! bfd_simple_get_relocated_section_contents (abfd, msec,
+ *section_buffer,
+ syms))
return FALSE;
}
works for me.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11817
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils