diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2006-02-01 21:28:29 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2006-02-01 21:28:29 +0000 |
commit | 6b31ad165d5b94d0a207bc2eab1855599a81033b (patch) | |
tree | 9de036d784734513fec2056aeadb908486761f01 /ld/ld.texinfo | |
parent | f524510a162cee710564bda63698c2e6b6307554 (diff) | |
download | gdb-6b31ad165d5b94d0a207bc2eab1855599a81033b.zip gdb-6b31ad165d5b94d0a207bc2eab1855599a81033b.tar.gz gdb-6b31ad165d5b94d0a207bc2eab1855599a81033b.tar.bz2 |
* deffilep.y (def_image_name): If the image name does not have
a suffix, append the default.
* ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 4f809f3..d455727 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -5598,6 +5598,22 @@ by "forwarding" to another module and treating it as an alias for @code{afoo} exported from the DLL @samp{abc.dll}. The final symbol @code{var1} is declared to be a data object. +The optional @code{LIBRARY <name>} command indicates the @emph{internal} +name of the output DLL. If @samp{<name>} does not include a suffix, +the default library suffix, @samp{.DLL} is appended. + +When the .DEF file is used to build an application. rather than a +library, the @code{NAME <name>} command shoud be used instead of +@code{LIBRARY}. If @samp{<name>} does not include a suffix, the default +executable suffix, @samp{.EXE} is appended. + +With either @code{LIBRARY <name>} or @code{NAME <name>} the optional +specification @code{BASE = <number>} may be used to specify a +non-default base address for the image. + +If neither @code{LIBRARY <name>} nor @code{NAME <name>} is specified, +the internal name is the same as the filename specified on the command line. + The complete specification of an export symbol is: @example |