[PATCH] Remove C99-ism in elflink.c
Mark Kettenis
mark.kettenis@xs4all.nl
Fri Jul 14 21:06:00 GMT 2006
Makes things compile again on OpenBSD/alpha (which uses GCC 2.95).
Committed as obvious.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Move declarations
to the start of a block.
Index: elflink.c
===================================================================
RCS file: /cvs/src/src/bfd/elflink.c,v
retrieving revision 1.222
diff -u -p -r1.222 elflink.c
--- elflink.c 12 Jul 2006 15:45:32 -0000 1.222
+++ elflink.c 14 Jul 2006 10:56:45 -0000
@@ -6060,8 +6060,8 @@ bfd_elf_size_dynsym_hash_dynstr (bfd *ou
}
else
{
- BFD_ASSERT (cinfo.min_dynindx != -1);
unsigned long int maskwords, maskbitslog2;
+ BFD_ASSERT (cinfo.min_dynindx != -1);
maskbitslog2 = bfd_log2 (cinfo.nsyms) + 1;
if (maskbitslog2 < 3)
More information about the Binutils
mailing list