summaryrefslogtreecommitdiff
path: root/ld/pe-dll.h
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2008-11-14 15:13:05 +0000
committerKai Tietz <kai.tietz@onevision.com>2008-11-14 15:13:05 +0000
commit6cb442d374a04461bbdd63ef85ce370c51a06e4f (patch)
tree3bfb061998c23b94bbd0cd623ce9df965ee5c3b9 /ld/pe-dll.h
parent7582fb4a6a18a5def099aa8795f7ebbac8c06255 (diff)
downloadbinutils-gdb-6cb442d374a04461bbdd63ef85ce370c51a06e4f.tar.gz
2008-11-14 Kai Tietz <kai.tietz@onevision.com>
* emultempl/pep.em (..._before_parse): initialize pei386_runtime_pseudo_reloc by version 2. (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option. (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option. (make_import_fixup): Use relocation size to read addend. * emultempl/pe.em (..._before_parse): initialize pei386_runtime_pseudo_reloc by version 1. (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option. (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option. * pe-dll.c (pe-dll.h): Remove useless include. (make_runtime_pseudo_reloc): Change addend to use bfd_vma. Handle the two variants of pseudo-relocation. (pe_create_import_fixup): Change addend to type bfd_vma. Modify for the two pseudo_relocation variants. (runtime_pseudp_reloc_v2_init): New static variable. * pe-dll.h (pe_create_import_fixup): Change addend argument type to bfd_vma. * pep-dll.h (pep_create_import_fixup): Likewise. * NEWS: Add comment.
Diffstat (limited to 'ld/pe-dll.h')
-rw-r--r--ld/pe-dll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/pe-dll.h b/ld/pe-dll.h
index ce4a2e6d11b..6645c4c83b8 100644
--- a/ld/pe-dll.h
+++ b/ld/pe-dll.h
@@ -59,7 +59,7 @@ extern void pe_exe_fill_sections
extern void pe_walk_relocs_of_symbol
(struct bfd_link_info *, const char *, int (*) (arelent *, asection *));
extern void pe_create_import_fixup
- (arelent * rel, asection *, int);
+ (arelent * rel, asection *, bfd_vma);
extern bfd_boolean pe_bfd_is_dll
(bfd *);