summaryrefslogtreecommitdiff
path: root/bfd/peXXigen.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2009-04-27 13:59:43 +0000
committerH.J. Lu <hjl@lucon.org>2009-04-27 13:59:43 +0000
commitdbaaf38fcc11a1bce336512607fe9d81d882731e (patch)
treec40159daada6c0cfd0b1319dbeeac9a551bbbeb7 /bfd/peXXigen.c
parentc2ea9c3e0d32224ce56a77abf68dae5ad1cfce30 (diff)
downloadbinutils-redhat-dbaaf38fcc11a1bce336512607fe9d81d882731e.tar.gz
bfd/
2009-04-27 H.J. Lu <hongjiu.lu@intel.com> * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't copy pe_opthdr. binutils/ 2009-04-27 H.J. Lu <hongjiu.lu@intel.com> * objcopy.c (copy_object): Copy pe_opthdr before changing PE parameters.
Diffstat (limited to 'bfd/peXXigen.c')
-rw-r--r--bfd/peXXigen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c
index 76224cb090..4229de2e65 100644
--- a/bfd/peXXigen.c
+++ b/bfd/peXXigen.c
@@ -2188,7 +2188,7 @@ _bfd_XX_bfd_copy_private_bfd_data_common (bfd * ibfd, bfd * obfd)
ipe = pe_data (ibfd);
ope = pe_data (obfd);
- ope->pe_opthdr = ipe->pe_opthdr;
+ /* pe_opthdr is copied in copy_object. */
ope->dll = ipe->dll;
/* Don't copy input subsystem if output is different from input. */