summaryrefslogtreecommitdiff
path: root/ld/pep-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
commitdd33c18e687ff405bbc495126bd8b26d95a2922c (patch)
tree8bc66dbe184e78062b8da799cc5b1229980c61ae /ld/pep-dll.h
parentdd4f6a0d504cc0f1acf64be81bec1d54790971ba (diff)
downloadbinutils-redhat-dd33c18e687ff405bbc495126bd8b26d95a2922c.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/pep-dll.h')
-rw-r--r--ld/pep-dll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/pep-dll.h b/ld/pep-dll.h
index dba76bed1f..ae0dcbe9d8 100644
--- a/ld/pep-dll.h
+++ b/ld/pep-dll.h
@@ -48,7 +48,7 @@ extern void pep_dll_fill_sections (bfd *, struct bfd_link_info *);
extern void pep_exe_fill_sections (bfd *, struct bfd_link_info *);
extern void pep_walk_relocs_of_symbol
(struct bfd_link_info *, const char *, int (*) (arelent *, asection *));
-extern void pep_create_import_fixup (arelent * rel, asection *, int);
+extern void pep_create_import_fixup (arelent * rel, asection *, bfd_vma);
extern bfd_boolean pep_bfd_is_dll (bfd *);
#endif /* PEP_DLL_H */