[PATCH] Fix _bfd_elf_link_renumber_dynsyms return value
Thiemo Seufer
ica2_ts@csv.ica.uni-stuttgart.de
Sun May 25 11:38:00 GMT 2003
Hello All,
this patch fixes _bfd_elf_link_renumber_dynsyms to actually return
the dynsymcount value.
I'm a bit surprised that this bug wasn't more visible.
Thiemo
2003-05-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
/bfd/ChangeLog
* elflink.c (_bfd_elf_link_renumber_dynsyms): Actually return the
dynsymcount.
--- source-orig/bfd/elflink.c Sun May 25 09:20:22 2003
+++ source/bfd/elflink.c Sun May 25 10:12:52 2003
@@ -668,7 +668,9 @@ _bfd_elf_link_renumber_dynsyms (output_b
if (dynsymcount != 0)
++dynsymcount;
- return elf_hash_table (info)->dynsymcount = dynsymcount;
+ elf_hash_table (info)->dynsymcount = dynsymcount;
+
+ return dynsymcount;
}
/* This function is called when we want to define a new symbol. It
More information about the Binutils
mailing list