aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elflink.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3863a04..07bf4c4 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-14 Jakub Jelinek <jakub@redhat.com>
+
+ * elflink.c (bfd_elf_size_dynsym_hash_dynstr): Fix cinfo.shift2 value.
+
2006-07-14 Mark Kettenis <kettenis@gnu.org>
* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Move declarations
diff --git a/bfd/elflink.c b/bfd/elflink.c
index b302b35..c52b42e 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -6079,7 +6079,7 @@ bfd_elf_size_dynsym_hash_dynstr (bfd *output_bfd, struct bfd_link_info *info)
else
cinfo.shift1 = 5;
cinfo.mask = (1 << cinfo.shift1) - 1;
- cinfo.shift2 = maskbitslog2 + cinfo.shift1;
+ cinfo.shift2 = maskbitslog2;
cinfo.maskbits = 1 << maskbitslog2;
maskwords = 1 << (maskbitslog2 - cinfo.shift1);
amt = bucketcount * sizeof (unsigned long int) * 2;