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/pep-dll.c | |
parent | dde0281261f8a2b4e89ec28a3b602d52ba97e9fd (diff) | |
download | gdb-ce11ba6c9d65f4606431e5d73986ad87e3ee9583.zip gdb-ce11ba6c9d65f4606431e5d73986ad87e3ee9583.tar.gz gdb-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/pep-dll.c')
-rw-r--r-- | ld/pep-dll.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/pep-dll.c b/ld/pep-dll.c index 89d237c..a7c31a7 100644 --- a/ld/pep-dll.c +++ b/ld/pep-dll.c @@ -33,6 +33,8 @@ #define pe_dll_kill_ats pep_dll_kill_ats #define pe_dll_stdcall_aliases pep_dll_stdcall_aliases #define pe_dll_warn_dup_exports pep_dll_warn_dup_exports +#define pe_use_nul_prefixed_import_tables \ + pep_use_nul_prefixed_import_tables /* External globals. */ #define pe_data_import_dll pep_data_import_dll |