From: Kai Tietz Date: Mon, 29 Sep 2008 14:01:50 +0000 (+0000) Subject: 2008-09-26 Kai Tietz X-Git-Tag: reverse-20080930-branchpoint~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8a4873487ea15d1873dfaf0cb1a724a3b5fec95;p=external%2Fbinutils.git 2008-09-26 Kai Tietz * pe-dll.c (make_import_fixup_entry): Make sure reloc is addend. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 9fda0cb..0059072 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2008-09-29 Kai Tietz + + * pe-dll.c (make_import_fixup_entry): Make sure reloc is addend. + 2008-09-29 Nick Clifton * po/vi.po: Updated Vietnamese translation. diff --git a/ld/pe-dll.c b/ld/pe-dll.c index ea84999..bf4b509 100644 --- a/ld/pe-dll.c +++ b/ld/pe-dll.c @@ -2242,6 +2242,7 @@ make_import_fixup_entry (const char *name, d2 = xmalloc (20); id2->contents = d2; memset (d2, 0, 20); + d2[0] = d2[16] = PE_IDATA5_SIZE; /* Reloc addend. */ quick_reloc (abfd, 0, BFD_RELOC_RVA, 1); quick_reloc (abfd, 12, BFD_RELOC_RVA, 2);