2008-09-26 Kai Tietz <kai.tietz@onevision.com>

* pe-dll.c (make_import_fixup_entry): Make sure reloc is addend.
This commit is contained in:
Kai Tietz 2008-09-29 14:01:50 +00:00
parent afac680a76
commit b8a4873487
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-09-29 Kai Tietz <kai.tietz@onevision.com>
* pe-dll.c (make_import_fixup_entry): Make sure reloc is addend.
2008-09-29 Nick Clifton <nickc@redhat.com>
* po/vi.po: Updated Vietnamese translation.

View File

@ -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);