diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2008-04-03 14:44:55 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2008-04-03 14:44:55 +0000 |
commit | 5f69259ea4a8fa974292170d02e3500cd7c3d038 (patch) | |
tree | 54344e96d4def72f4fac7169901525ca87dbbb8a /ld/pe-dll.c | |
parent | 126f3ece278737f6cac83e7e6f251579cc0e4eee (diff) | |
download | fsf-binutils-gdb-5f69259ea4a8fa974292170d02e3500cd7c3d038.zip fsf-binutils-gdb-5f69259ea4a8fa974292170d02e3500cd7c3d038.tar.gz fsf-binutils-gdb-5f69259ea4a8fa974292170d02e3500cd7c3d038.tar.bz2 |
Kai Tietz <kai.tietz@onevision.com>
PR ld/6026
* pe-dll.c (make_head): Fix iat and thunk addend offset.
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r-- | ld/pe-dll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c index c0cf63d..4168aaa 100644 --- a/ld/pe-dll.c +++ b/ld/pe-dll.c @@ -1729,7 +1729,7 @@ make_head (bfd *parent) d2 = xmalloc (20); id2->contents = d2; memset (d2, 0, 20); - d2[0] = d2[16] = 4; /* Reloc addend. */ + d2[0] = d2[16] = PE_IDATA5_SIZE; /* Reloc addend. */ quick_reloc (abfd, 0, BFD_RELOC_RVA, 2); quick_reloc (abfd, 12, BFD_RELOC_RVA, 4); quick_reloc (abfd, 16, BFD_RELOC_RVA, 1); |