summaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2002-11-12 22:49:45 +0000
committerH.J. Lu <hjl@lucon.org>2002-11-12 22:49:45 +0000
commit121f9ff916a95e538f77849a3fda85109aa19506 (patch)
tree399b8f0af4f0eb2b4912b0dfa946d3f13f2ff537 /bfd/elfcode.h
parentad82a52a63e4faef60271a1c1b1272c093b05575 (diff)
downloadgdb-121f9ff916a95e538f77849a3fda85109aa19506.tar.gz
2002-11-13 H.J. Lu <hjl@gnu.org>
* elfcode.h (elf_object_p): Don't restore abfd->arch_info.
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r--bfd/elfcode.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index 35c99f0b38b..f523972fab4 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;