OSDN Git Service

* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Fix cinfo.shift2 value.
authorJakub Jelinek <jakub@redhat.com>
Fri, 14 Jul 2006 13:48:06 +0000 (13:48 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 14 Jul 2006 13:48:06 +0000 (13:48 +0000)
bfd/ChangeLog
bfd/elflink.c

index 3863a04..07bf4c4 100644 (file)
@@ -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
index b302b35..c52b42e 100644 (file)
@@ -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;