Take into account --kill-at (-k) while generating .exp file.

This commit is contained in:
Nick Clifton 2002-03-01 15:34:32 +00:00
parent 831b02f6e0
commit f3f7fbb215
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
* dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
generating .exp file.
2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
* readelf.c (dump_relocations): Fix typo.

View File

@ -1,5 +1,5 @@
/* dlltool.c -- tool to generate stuff for PE style DLLs
Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001
Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
This file is part of GNU Binutils.
@ -1865,7 +1865,7 @@ gen_exp_file ()
if (!exp->noname || show_allnames)
{
fprintf (f, "n%d: %s \"%s\"\n",
exp->ordinal, ASM_TEXT, exp->name);
exp->ordinal, ASM_TEXT, xlate (exp->name));
if (exp->forward != 0)
fprintf (f, "f%d: %s \"%s\"\n",
exp->forward, ASM_TEXT, exp->internal_name);