[patch]: make idata$4 and .idata$5 more compliant to coff spec

Nick Clifton nickc@redhat.com
Thu Jan 8 13:04:00 GMT 2009


Hi Kai,

> 2009-01-07  Kai Tietz  <kai.tietz@onevision.com>
> 
>         * dlltool.c (use_nul_prefixed_import_tables): New.
>         (make_head): Make prefix leading zero prefix element for
>         idata$4 and idata$5 dependent to new flag.
>         (usage): Add new option  --use-nul-prefixed-import-tables.
>         (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
>         (long_options): Add --use-nul-prefixed-import-tables.
>         (main): Likewise.
>         * doc/binutils.texi: Add new option documentation for
>         --use-nul-prefixed-import-tables.
> 
> 2009-01-07  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.

Approved - please apply - but... please also add an entries in ld/NEWS 
and binutils/NEWS mentioning this new feature.

Cheers
   Nick



More information about the Binutils mailing list