------- Additional Comments From amodra at bigpond dot net dot au 2008-08-15
10:41 -------
This simple patch seems to cure the problem.
Index: bfd/elf.c
===================================================================
RCS file: /cvs/src/src/bfd/elf.c,v
retrieving revision 1.462
diff -u -p -r1.462 elf.c
--- bfd/elf.c 8 Aug 2008 08:00:14 -0000 1.462
+++ bfd/elf.c 15 Aug 2008 10:39:10 -0000
@@ -6545,7 +6545,11 @@ _bfd_elf_canonicalize_symtab (bfd *abfd,
long symcount = bed->s->slurp_symbol_table (abfd, allocation, FALSE);
if (symcount >= 0)
- bfd_get_symcount (abfd) = symcount;
+ {
+ bfd_get_symcount (abfd) = symcount;
+ /* Cache symbols for the generic linker. */
+ bfd_get_outsymbols (abfd) = allocation;
+ }
return symcount;
}
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6478
------- 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