forked from Imagelibrary/binutils-gdb
Added --identify option to dlltool.
This commit is contained in:
@@ -3371,7 +3371,8 @@ dlltool [@option{-d}|@option{--input-def} @var{def-file-name}]
|
||||
[@option{-U}|@option{--add-underscore}] [@option{--add-stdcall-underscore}]
|
||||
[@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{-i}|@option{--interwork}]
|
||||
[@option{-x}|@option{--no-idata4}] [@option{-c}|@option{--no-idata5}]
|
||||
[@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}]
|
||||
[@option{-h}|@option{--help}] [@option{-V}|@option{--version}]
|
||||
@@ -3421,9 +3422,9 @@ binary file and it can be created by giving the @option{-e} option to
|
||||
@command{dlltool} when it is creating or reading in a @file{.def} file.
|
||||
|
||||
The third file needed for DLL creation is the library file that programs
|
||||
will link with in order to access the functions in the DLL. This file
|
||||
can be created by giving the @option{-l} option to dlltool when it
|
||||
is creating or reading in a @file{.def} file.
|
||||
will link with in order to access the functions in the DLL (an `import
|
||||
library'). This file can be created by giving the @option{-l} option to
|
||||
dlltool when it is creating or reading in a @file{.def} file.
|
||||
|
||||
@command{dlltool} builds the library file by hand, but it builds the
|
||||
exports file by creating temporary files containing assembler statements
|
||||
@@ -3446,6 +3447,11 @@ that uses that DLL:
|
||||
gcc program.o dll.lib -o program
|
||||
@end smallexample
|
||||
|
||||
|
||||
@command{dlltool} may also be used to query an existing import library
|
||||
to determine the name of the DLL to which it is associated. See the
|
||||
description of the @option{-I} or @option{--identify} option.
|
||||
|
||||
@c man end
|
||||
|
||||
@c man begin OPTIONS dlltool
|
||||
@@ -3585,6 +3591,16 @@ Specifies that when @command{dlltool} is creating the exports and library
|
||||
files it should omit the @code{.idata5} section. This is for compatibility
|
||||
with certain operating systems.
|
||||
|
||||
@item -I @var{filename}
|
||||
@itemx --identify @var{filename}
|
||||
Specifies that @command{dlltool} should inspect the import library
|
||||
indicated by @var{filename} and report, on @code{stdout}, the name of
|
||||
the associated DLL. This can be performed in addition to any other
|
||||
operations indicated by the other options and arguments. @command{dlltool}
|
||||
@option{--identify} fails if the import library does not exist, is not
|
||||
actually an import library, or (rarely) if the import library somehow
|
||||
specifies more than one associated DLL.
|
||||
|
||||
@item -i
|
||||
@itemx --interwork
|
||||
Specifies that @command{dlltool} should mark the objects in the library
|
||||
|
||||
Reference in New Issue
Block a user