diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2008-09-29 14:01:50 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2008-09-29 14:01:50 +0000 |
commit | bf198451859f197aedc9b6aaedeefa278969046b (patch) | |
tree | fbb60f36c40aa1c527bbc2d734b9861869267602 /ld | |
parent | 58192dda56f18c6243056e75f293fe7e1c257a56 (diff) | |
download | binutils-redhat-bf198451859f197aedc9b6aaedeefa278969046b.tar.gz |
2008-09-26 Kai Tietz <kai.tietz@onevision.com>
* pe-dll.c (make_import_fixup_entry): Make sure reloc is addend.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/pe-dll.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 9fda0cb0da..0059072057 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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. diff --git a/ld/pe-dll.c b/ld/pe-dll.c index ea84999cef..bf4b509333 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); |