This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: 64k+-sections-change causes problems preserving section info in elf_object_p and elf_core_file_p
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 18 Dec 2001 12:54:01 +1030
- Subject: Re: 64k+-sections-change causes problems preserving section info in elf_object_p and elf_core_file_p
- References: <200112180155.CAA25881@ignucius.axis.se>
On Tue, Dec 18, 2001 at 02:55:41AM +0100, Hans-Peter Nilsson wrote:
>
> I'll try to fix this by also preserving section_tail and
> introducing a (shallow-)copy function bfd_hash_table_copy for
> the sections hash table, calling it to copy the hash table into
> a local copy and bfd_hash_table_free the one in bfd and
> bfd_hash_table_copy it back on failure.
>
> Other suggestions welcome. (Fixes too. ;-)
Ouch. OK, I'll look at fixing this. Unless you've already done so. :)