This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[RFA/PATCH] Fix minor oops in bfd_preserve_save.
- From: Klee Dienes <klee at apple dot com>
- To: binutils at sources dot redhat dot com
- Date: Tue, 12 Nov 2002 23:35:38 -0500
- Subject: [RFA/PATCH] Fix minor oops in bfd_preserve_save.
2002-11-12 Klee Dienes <kdienes@apple.com>
* bfd.c (bfd_preserve_save): Preserve BFD_IN_MEMORY in the
flags,
if set.
--- bfd.c 12 Nov 2002 15:44:24 -0000 1.41
+++ bfd.c 13 Nov 2002 04:32:49 -0000
@@ -1449,7 +1449,7 @@
abfd->tdata.any = NULL;
abfd->arch_info = &bfd_default_arch_struct;
- abfd->flags = 0;
+ abfd->flags = abfd->flags & BFD_IN_MEMORY
abfd->sections = NULL;
abfd->section_tail = &abfd->sections;