From 074954f9c4b4ac582234c44b8e4dcac7fc2e4d09 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 12 Nov 2002 22:49:45 +0000 Subject: [PATCH] 2002-11-13 H.J. Lu * elfcode.h (elf_object_p): Don't restore abfd->arch_info. --- bfd/ChangeLog | 4 ++++ bfd/elfcode.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 95e638f27f..e8b786bb7f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-11-13 H.J. Lu + + * elfcode.h (elf_object_p): Don't restore abfd->arch_info. + 2002-11-13 Klee Dienes Alan Modra diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 35c99f0b38..f523972fab 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -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; -- 2.11.0