Take into account --kill-at (-k) while generating .exp file.
authorNick Clifton <nickc@redhat.com>
Fri, 1 Mar 2002 15:34:32 +0000 (15:34 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 1 Mar 2002 15:34:32 +0000 (15:34 +0000)
binutils/ChangeLog
binutils/dlltool.c

index 548b94bfa972b6fe280c2ec2234cbbef27befce0..4f24699af8e56cdf099295dcedacfe9db4b50f14 100644 (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.
index a3c52c53c766004643b95121de0324fbc8978ef2..0ea3f8ffe9895a0d40dacdfbcfa14c38582687d0 100644 (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);