2009-01-08 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. * NEWS: Add new option.
This commit is contained in:
parent
ce11ba6c9d
commit
e77b97d433
4 changed files with 46 additions and 4 deletions
|
@ -3370,6 +3370,7 @@ dlltool [@option{-d}|@option{--input-def} @var{def-file-name}]
|
|||
[@option{-k}|@option{--kill-at}] [@option{-A}|@option{--add-stdcall-alias}]
|
||||
[@option{-p}|@option{--ext-prefix-alias} @var{prefix}]
|
||||
[@option{-x}|@option{--no-idata4}] [@option{-c}|@option{--no-idata5}]
|
||||
[@option{--use-nul-prefixed-import-tables}]
|
||||
[@option{-I}|@option{--identify} @var{library-file-name}] [@option{-i}|@option{--interwork}]
|
||||
[@option{-n}|@option{--nodelete}] [@option{-t}|@option{--temp-prefix} @var{prefix}]
|
||||
[@option{-v}|@option{--verbose}]
|
||||
|
@ -3583,6 +3584,12 @@ Specifies that when @command{dlltool} is creating the exports and library
|
|||
files it should omit the @code{.idata4} section. This is for compatibility
|
||||
with certain operating systems.
|
||||
|
||||
@item --use-nul-prefixed-import-tables
|
||||
Specifies that when @command{dlltool} is creating the exports and library
|
||||
files it should prefix the @code{.idata4} and @code{.idata5} by zero an
|
||||
element. This emulates old gnu import library generation of
|
||||
@code{dlltool}. By default this option is turned off.
|
||||
|
||||
@item -c
|
||||
@itemx --no-idata5
|
||||
Specifies that when @command{dlltool} is creating the exports and library
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue