diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2002-11-12 22:49:45 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2002-11-12 22:49:45 +0000 |
commit | 077ca68b4cbd55de171ddbfc9a32d4841fd1f77f (patch) | |
tree | 526fd130702fd45ba2a26e7e9951a10b1949e060 /bfd | |
parent | 0f3fafde6899e89047cd0b318e9ee2e86cf7b134 (diff) | |
download | gdb-077ca68b4cbd55de171ddbfc9a32d4841fd1f77f.zip gdb-077ca68b4cbd55de171ddbfc9a32d4841fd1f77f.tar.gz gdb-077ca68b4cbd55de171ddbfc9a32d4841fd1f77f.tar.bz2 |
2002-11-13 H.J. Lu <hjl@gnu.org>
* elfcode.h (elf_object_p): Don't restore abfd->arch_info.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elfcode.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 95e638f..e8b786b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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> diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 35c99f0..f523972 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; |