* elfcode.h (struct bfd_preserve): New.
authorAlan Modra <amodra@gmail.com>
Tue, 18 Dec 2001 07:12:19 +0000 (07:12 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 18 Dec 2001 07:12:19 +0000 (07:12 +0000)
commited591155738a84efa8a690745312e8226d1f6be9
tree815d50f46dfa0767cc96a3dbd01c098afbbd1fe7
parentff4d2c954cbe4a7ebec612157fc5261c1a2d1209
* elfcode.h (struct bfd_preserve): New.
(elf_object_p): Replace preserved_* vars with instance of above.
Save and restore arch_info pointer rather than arch, mach so that
more cases can be restored.  Save and restore new section_tail,
section_htab structure, and init appropriately.  Move "rest of
section header" code so that i_shdrp needs no NULL initialisation.
Free old section_htab on success.
* elfcore.h (elf_core_file_p): Likewise.
bfd/ChangeLog
bfd/elfcode.h
bfd/elfcore.h