dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04 patches.
doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
This commit is contained in:
parent
61ee279ceb
commit
d67a454c81
|
@ -1,3 +1,9 @@
|
||||||
|
2004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
|
||||||
|
|
||||||
|
* dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
|
||||||
|
patches.
|
||||||
|
* doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
|
||||||
|
|
||||||
2004-10-07 Alexandre Oliva <aoliva@redhat.com>
|
2004-10-07 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
* readelf.c (get_machine_flags): Don't fall through into m68k cpu
|
* readelf.c (get_machine_flags): Don't fall through into m68k cpu
|
||||||
|
|
|
@ -2517,17 +2517,11 @@ make_one_lib_file (export_type *exp, int i)
|
||||||
why it did that, and it does not match what I see
|
why it did that, and it does not match what I see
|
||||||
in programs compiled with the MS tools. */
|
in programs compiled with the MS tools. */
|
||||||
int idx = exp->hint;
|
int idx = exp->hint;
|
||||||
/* If the user has specified an internal name, use it.
|
si->size = strlen (xlate (exp->name)) + 3;
|
||||||
Ignore command line name translation options. */
|
|
||||||
char const * internal_name
|
|
||||||
= exp->internal_name != exp->name
|
|
||||||
? exp->internal_name : xlate (exp->name);
|
|
||||||
|
|
||||||
si->size = strlen (internal_name) + 3;
|
|
||||||
si->data = xmalloc (si->size);
|
si->data = xmalloc (si->size);
|
||||||
si->data[0] = idx & 0xff;
|
si->data[0] = idx & 0xff;
|
||||||
si->data[1] = idx >> 8;
|
si->data[1] = idx >> 8;
|
||||||
strcpy (si->data + 2, internal_name);
|
strcpy (si->data + 2, xlate (exp->name));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case IDATA7:
|
case IDATA7:
|
||||||
|
|
|
@ -3042,15 +3042,13 @@ means!
|
||||||
@itemx --add-underscore
|
@itemx --add-underscore
|
||||||
Specifies that when @command{dlltool} is creating the exports file it
|
Specifies that when @command{dlltool} is creating the exports file it
|
||||||
should prepend an underscore to the names of the exported functions.
|
should prepend an underscore to the names of the exported functions.
|
||||||
The option is ignored for symbols with an explicit internal name
|
|
||||||
specification provided in a .def file.
|
|
||||||
|
|
||||||
@item -k
|
@item -k
|
||||||
@itemx --kill-at
|
@itemx --kill-at
|
||||||
Specifies that when @command{dlltool} is creating the exports file it
|
Specifies that when @command{dlltool} is creating the exports file it
|
||||||
should not append the string @samp{@@ <number>} The option is ignored
|
should not append the string @samp{@@ <number>}. These numbers are
|
||||||
for symbols with an explicit internal name specification provided in a
|
called ordinal numbers and they represent another way of accessing the
|
||||||
.def file.
|
function in a DLL, other than by name.
|
||||||
|
|
||||||
@item -A
|
@item -A
|
||||||
@itemx --add-stdcall-alias
|
@itemx --add-stdcall-alias
|
||||||
|
|
Loading…
Reference in New Issue