]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* dlltool.c (gen_exp_file): Always output names for forwarded symbols.
authorChristopher Faylor <me+cygwin@cgf.cx>
Sat, 21 Feb 2004 21:28:22 +0000 (21:28 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Sat, 21 Feb 2004 21:28:22 +0000 (21:28 +0000)
binutils/ChangeLog
binutils/dlltool.c

index 5b0e33e3fbadac1964b284c359e4fc21e0940369..974333fc0ef1dfa9014e4715686939ddcc7574be 100644 (file)
@@ -1,3 +1,7 @@
+2004-02-21  Dmitry Timoshkov  <dmitry@baikal.ru>
+
+       * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
+
 2004-02-19  Jakub Jelinek  <jakub@redhat.com>
 
        * objcopy.c (copy_section): Avoid warnings.
index 9d258612cdd7a1dd91662bf3b882f4dd5a2c726d..02b71d34def76a776b189c2c6072935f5020ab8e 100644 (file)
@@ -1841,14 +1841,14 @@ gen_exp_file (void)
 
       fprintf(f,"%s Export Name Table\n", ASM_C);
       for (i = 0; (exp = d_exports_lexically[i]); i++)
-       if (!exp->noname || show_allnames)
-         {
+       {
+         if (!exp->noname || show_allnames)
            fprintf (f, "n%d:   %s      \"%s\"\n",
                     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);
-         }
+         if (exp->forward != 0)
+           fprintf (f, "f%d:   %s      \"%s\"\n",
+                    exp->forward, ASM_TEXT, exp->internal_name);
+       }
 
       if (a_list)
        {