2002-11-13 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 12 Nov 2002 22:49:45 +0000 (22:49 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 12 Nov 2002 22:49:45 +0000 (22:49 +0000)
* elfcode.h (elf_object_p): Don't restore abfd->arch_info.

bfd/ChangeLog
bfd/elfcode.h

index 95e638f27fffd7b01ef2d6c90de10f5f4cc09361..e8b786bb7f3c1c34b24fdf0a5381a8ad605ad75b 100644 (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>
 
index 35c99f0b38be962de3e76fe618e23c2f6b698a79..f523972fab464959f72093af83a199b2482db5be 100644 (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;