2009-01-08 Kai Tietz <kai.tietz@onevision.com>
authorKai Tietz <kai.tietz@onevision.com>
Thu, 8 Jan 2009 13:28:48 +0000 (13:28 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Thu, 8 Jan 2009 13:28:48 +0000 (13:28 +0000)
commitce11ba6c9d65f4606431e5d73986ad87e3ee9583
treec7999040c68c6e2e020088296ea0fe8526c67410
parentdde0281261f8a2b4e89ec28a3b602d52ba97e9fd
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.
ld/ChangeLog
ld/NEWS
ld/emultempl/pe.em
ld/emultempl/pep.em
ld/ld.texinfo
ld/pe-dll.c
ld/pe-dll.h
ld/pep-dll.c
ld/pep-dll.h