diff options
author | Charles Wilson <cygwin@cwilson.fastmail.fm> | 2008-11-15 18:15:18 +0000 |
---|---|---|
committer | Charles Wilson <cygwin@cwilson.fastmail.fm> | 2008-11-15 18:15:18 +0000 |
commit | d4732f7c88f3c29788d7d9df21520c1abc66c4b3 (patch) | |
tree | c3db41a4b8acfe4754d8d032b48eab19aa73368e /binutils/doc | |
parent | da8bd9a3c5988662518227005098a56ae2b08f94 (diff) | |
download | binutils-d4732f7c88f3c29788d7d9df21520c1abc66c4b3.zip binutils-d4732f7c88f3c29788d7d9df21520c1abc66c4b3.tar.gz binutils-d4732f7c88f3c29788d7d9df21520c1abc66c4b3.tar.bz2 |
Added --identify option to dlltool.
Diffstat (limited to 'binutils/doc')
-rw-r--r-- | binutils/doc/binutils.texi | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index db09d8a..e55981b 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -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 |