From dbaaf38fcc11a1bce336512607fe9d81d882731e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 27 Apr 2009 13:59:43 +0000 Subject: bfd/ 2009-04-27 H.J. Lu * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't copy pe_opthdr. binutils/ 2009-04-27 H.J. Lu * objcopy.c (copy_object): Copy pe_opthdr before changing PE parameters. --- bfd/peXXigen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/peXXigen.c') 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. */ -- cgit v1.2.1