diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2009-01-08 13:28:48 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2009-01-08 13:28:48 +0000 |
commit | ce11ba6c9d65f4606431e5d73986ad87e3ee9583 (patch) | |
tree | c7999040c68c6e2e020088296ea0fe8526c67410 /ld/pe-dll.h | |
parent | dde0281261f8a2b4e89ec28a3b602d52ba97e9fd (diff) | |
download | binutils-ce11ba6c9d65f4606431e5d73986ad87e3ee9583.zip binutils-ce11ba6c9d65f4606431e5d73986ad87e3ee9583.tar.gz binutils-ce11ba6c9d65f4606431e5d73986ad87e3ee9583.tar.bz2 |
2009-01-08 Kai Tietz <kai.tietz@onevision.com>
* pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
(gld..._add_options): Add new option
--use-nul-prefixed-import-tables.
(gld..._handle_option): Likewise.
* pep.em: Same as for pe.em.
* ld.texinfo: Add new option documentation for
--use-nul-prefixed-import-tables.
* pe-dll.c (pe_use_nul_prefixed_import_tables): New.
(make_head): Make prefix leading zero prefix element for
idata$4 and idata$5 dependent to new flag.
(make_import_fixup_entry): Remove idata4/5 prefix.
* pe-dll.h (pe_use_nul_prefixed_import_tables): New.
* pep-dll.c (pe_use_nul_prefixed_import_tables): New.
* pep-dll.h (pep_use_nul_prefixed_import_tables): New.
* NEWS: Add new option.
Diffstat (limited to 'ld/pe-dll.h')
-rw-r--r-- | ld/pe-dll.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/pe-dll.h b/ld/pe-dll.h index 83e7422..22630dc 100644 --- a/ld/pe-dll.h +++ b/ld/pe-dll.h @@ -35,6 +35,7 @@ extern int pe_dll_stdcall_aliases; extern int pe_dll_warn_dup_exports; extern int pe_dll_compat_implib; extern int pe_dll_extra_pe_debug; +extern int pe_use_nul_prefixed_import_tables; typedef enum { EXCLUDESYMS, EXCLUDELIBS, EXCLUDEFORIMPLIB } exclude_type; |