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 | b8a4873487ea15d1873dfaf0cb1a724a3b5fec95 (patch) | |
tree | b82094d84e166f33bd2a85d16ff31fac2c61cf64 /ld/pe-dll.c | |
parent | afac680a76fc4342d4cd900cb05150be94a6ddfb (diff) | |
download | gdb-b8a4873487ea15d1873dfaf0cb1a724a3b5fec95.zip gdb-b8a4873487ea15d1873dfaf0cb1a724a3b5fec95.tar.gz gdb-b8a4873487ea15d1873dfaf0cb1a724a3b5fec95.tar.bz2 |
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/pe-dll.c')
-rw-r--r-- | ld/pe-dll.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |