2002-11-13 H.J. Lu <hjl@gnu.org>

* elfcode.h (elf_object_p): Don't restore abfd->arch_info.
This commit is contained in:
H.J. Lu 2002-11-12 22:49:45 +00:00
parent 0f3fafde68
commit 077ca68b4c
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-11-13 H.J. Lu <hjl@gnu.org>
* elfcode.h (elf_object_p): Don't restore abfd->arch_info.
2002-11-13 Klee Dienes <kdienes@apple.com>
Alan Modra <amodra@bigpond.net.au>

View File

@ -841,7 +841,6 @@ elf_object_p (abfd)
bfd_set_error (bfd_error_wrong_format);
got_no_match:
abfd->arch_info = preserve.arch_info;
if (preserve.marker != NULL)
bfd_preserve_restore (abfd, &preserve);
return NULL;