diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-04-27 13:59:43 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-04-27 13:59:43 +0000 |
commit | 325c681d94281b21b30dc18dd604a54e418df607 (patch) | |
tree | 9d1a23e038a82d3e57094def34d1df5924f04d86 /bfd | |
parent | 945a118de0fdc7934635cfe263d14444ebbdd403 (diff) | |
download | gdb-325c681d94281b21b30dc18dd604a54e418df607.zip gdb-325c681d94281b21b30dc18dd604a54e418df607.tar.gz gdb-325c681d94281b21b30dc18dd604a54e418df607.tar.bz2 |
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')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/peXXigen.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index bc34a78..194ba68 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +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. + 2009-04-23 Matthias Klose <doko@ubuntu.com> * peXXigen.c (_bfd_XXi_swap_sym_in): Initialize `name'. diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c index 76224cb..4229de2 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. */ |