aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-07-14 13:48:06 +0000
committerJakub Jelinek <jakub@redhat.com>2006-07-14 13:48:06 +0000
commit2ccdbfcc9a284fe6510a68c9e71e265827c7d8ff (patch)
tree3d1c725bc331ae0d4b2cd14cc4c01feeb49a4150 /bfd/elflink.c
parent0b33793d22e0aaef8fd1c6267e6853feeaed08d3 (diff)
downloadgdb-2ccdbfcc9a284fe6510a68c9e71e265827c7d8ff.zip
gdb-2ccdbfcc9a284fe6510a68c9e71e265827c7d8ff.tar.gz
gdb-2ccdbfcc9a284fe6510a68c9e71e265827c7d8ff.tar.bz2
* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Fix cinfo.shift2 value.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c2
1 files changed, 1 insertions, 1 deletions
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;