aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2006-07-14 11:00:59 +0000
committerMark Kettenis <kettenis@gnu.org>2006-07-14 11:00:59 +0000
commit0b33793d22e0aaef8fd1c6267e6853feeaed08d3 (patch)
tree91e757946c9ba0dd58a0955b76035475ad8dc97a
parentbb99eb1a42a950e32608bed91ddec952d4705a7c (diff)
downloadbinutils-0b33793d22e0aaef8fd1c6267e6853feeaed08d3.zip
binutils-0b33793d22e0aaef8fd1c6267e6853feeaed08d3.tar.gz
binutils-0b33793d22e0aaef8fd1c6267e6853feeaed08d3.tar.bz2
* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Move declarations
to the start of a block.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elflink.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 753f918..3863a04 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2006-07-14 Mark Kettenis <kettenis@gnu.org>
+
+ * elflink.c (bfd_elf_size_dynsym_hash_dynstr): Move declarations
+ to the start of a block.
+
2006-07-13 Nick Clifton <nickc@redhat.com>
* coff-sh.c (_bfd_sh_align_load_span): Catch sh_insn_info()
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 84d9d1f..b302b35 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -6060,8 +6060,8 @@ bfd_elf_size_dynsym_hash_dynstr (bfd *output_bfd, struct bfd_link_info *info)
}
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)