diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-07-14 13:48:06 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-07-14 13:48:06 +0000 |
commit | 2ccdbfcc9a284fe6510a68c9e71e265827c7d8ff (patch) | |
tree | 3d1c725bc331ae0d4b2cd14cc4c01feeb49a4150 /bfd | |
parent | 0b33793d22e0aaef8fd1c6267e6853feeaed08d3 (diff) | |
download | fsf-binutils-gdb-2ccdbfcc9a284fe6510a68c9e71e265827c7d8ff.zip fsf-binutils-gdb-2ccdbfcc9a284fe6510a68c9e71e265827c7d8ff.tar.gz fsf-binutils-gdb-2ccdbfcc9a284fe6510a68c9e71e265827c7d8ff.tar.bz2 |
* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Fix cinfo.shift2 value.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elflink.c | 2 |
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; |