aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2004-02-21 21:28:22 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2004-02-21 21:28:22 +0000
commiteff21b8ec259755569f2b8f8c8b382c39676e095 (patch)
tree1b73283e239741b5d48b7c0312576ad250628631 /binutils
parentba361932691d549ce89d243efac895d136334e58 (diff)
downloadgdb-eff21b8ec259755569f2b8f8c8b382c39676e095.zip
gdb-eff21b8ec259755569f2b8f8c8b382c39676e095.tar.gz
gdb-eff21b8ec259755569f2b8f8c8b382c39676e095.tar.bz2
* dlltool.c (gen_exp_file): Always output names for forwarded symbols.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/dlltool.c12
2 files changed, 10 insertions, 6 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 5b0e33e..974333f 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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.
diff --git a/binutils/dlltool.c b/binutils/dlltool.c
index 9d25861..02b71d3 100644
--- a/binutils/dlltool.c
+++ b/binutils/dlltool.c
@@ -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)
{