* [PATCH] Remove C99-ism in elflink.c
@ 2006-07-14 21:06 Mark Kettenis
0 siblings, 0 replies; only message in thread
From: Mark Kettenis @ 2006-07-14 21:06 UTC (permalink / raw)
To: binutils
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-07-14 21:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-14 21:06 [PATCH] Remove C99-ism in elflink.c Mark Kettenis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).