[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/11817] Linker crash due to compressed debug section change
From: |
hjl dot tools at gmail dot com |
Subject: |
[Bug ld/11817] Linker crash due to compressed debug section change |
Date: |
14 Jul 2010 04:33:38 -0000 |
------- 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 ld/11817] New: Linker crash, hjl dot tools at gmail dot com, 2010/07/13
- [Bug ld/11817] Linker crash due to compressed debug section change, hjl dot tools at gmail dot com, 2010/07/13
- [Bug ld/11817] Linker crash due to compressed debug section change, hjl dot tools at gmail dot com, 2010/07/13
- [Bug ld/11817] Linker crash due to compressed debug section change, hjl dot tools at gmail dot com, 2010/07/13
- [Bug ld/11817] Linker crash due to compressed debug section change,
hjl dot tools at gmail dot com <=
- [Bug ld/11817] Linker crash due to compressed debug section change, ccoutant at google dot com, 2010/07/14
- [Bug ld/11817] Linker crash due to compressed debug section change, hjl dot tools at gmail dot com, 2010/07/14
- [Bug ld/11817] Linker crash due to compressed debug section change, ccoutant at google dot com, 2010/07/14