diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2009-10-23 14:53:57 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2009-10-23 14:53:57 +0000 |
commit | bf201fddaaaae8fbd048f6d58b315080f5069b9f (patch) | |
tree | 61af7147e3b585fbd897a63f51be9cd3b6055107 /binutils/doc | |
parent | 6a0fa04300e300a1df9cc137f868a91be3854225 (diff) | |
download | gdb-bf201fddaaaae8fbd048f6d58b315080f5069b9f.zip gdb-bf201fddaaaae8fbd048f6d58b315080f5069b9f.tar.gz gdb-bf201fddaaaae8fbd048f6d58b315080f5069b9f.tar.bz2 |
2009-10-23 Kai Tietz <kai.tietz@onevision.com>
* deflex.l: Allow '<' and '>' in ID names.
* defparse.y (EQUAL): New token constant.
(opt_import_name): New rule for emptry or '==' ID.
(expline): Add opt_import_name as last line element.
(impline): Likewise.
* dlltool.c (ifunct): New member its_name.
(export): Likewise.
(append_import): Add its_name argument.
(defexports): Likewise.
(defimport): Likewise.
(scan_drectve_symbols): Adjust calls to def_exports.
(dump_def_info): Print new optinal import/export table
symbol name.
(generate_idata_ofile): Use its_name member.
(make_one_lib_file): Likewise.
(nfunc): Take its_name in account on sort.
* dlltool.h (def_exports): Add its_name as argument.
(def_import): Likewise.
* doc/binutils.texi: Add new def file syntax extension.
* deflex.l (EQUAL): Add rule for '=='.
* NEWS: Mention new feature.
2009-10-23 Kai Tietz <kai.tietz@onevision.com>
* binutils-all/dlltool.exp: Add new test.
* binutils-all/alias-2.def: New file.
Diffstat (limited to 'binutils/doc')
-rw-r--r-- | binutils/doc/binutils.texi | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 2cb56be..cb48014 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -3807,19 +3807,21 @@ The result is going to be named @var{name}@code{.exe}. @item @code{LIBRARY} @var{name} @code{[ ,} @var{base} @code{]} The result is going to be named @var{name}@code{.dll}. -@item @code{EXPORTS ( ( (} @var{name1} @code{[ = } @var{name2} @code{] ) | ( } @var{name1} @code{=} @var{module-name} @code{.} @var{external-name} @code{) )} +@item @code{EXPORTS ( ( (} @var{name1} @code{[ = } @var{name2} @code{] ) | ( } @var{name1} @code{=} @var{module-name} @code{.} @var{external-name} @code{) ) [ == } @var{its_name} @code{]} @item @code{[} @var{integer} @code{] [ NONAME ] [ CONSTANT ] [ DATA ] [ PRIVATE ] ) *} Declares @var{name1} as an exported symbol from the DLL, with optional ordinal number @var{integer}, or declares @var{name1} as an alias -(forward) of the function @var{external-name} in the DLL +(forward) of the function @var{external-name} in the DLL. +If @var{its_name} is specified, this name is used as string in export table. @var{module-name}. -@item @code{IMPORTS ( (} @var{internal-name} @code{=} @var{module-name} @code{.} @var{integer} @code{) | [} @var{internal-name} @code{= ]} @var{module-name} @code{.} @var{external-name} @code{) ) *} +@item @code{IMPORTS ( (} @var{internal-name} @code{=} @var{module-name} @code{.} @var{integer} @code{) | [} @var{internal-name} @code{= ]} @var{module-name} @code{.} @var{external-name} @code{) [ == ) @var{its_name} @code{]} *} Declares that @var{external-name} or the exported function whose ordinal number is @var{integer} is to be imported from the file @var{module-name}. If @var{internal-name} is specified then this is the name that the imported function will be referred to in the body of the DLL. +If @var{its_name} is specified, this name is used as string in import table. @item @code{DESCRIPTION} @var{string} Puts @var{string} into the output @file{.exp} file in the |