* libbfd.c (bfd_log2): Do return rounded up value.
authorAlan Modra <amodra@gmail.com>
Wed, 20 Apr 2011 07:17:01 +0000 (07:17 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 20 Apr 2011 07:17:01 +0000 (07:17 +0000)
commit9e6619e285873fe1cb002da4bb7749be40a5627c
tree93aa67371935dfa970f89ec5b84e50e50dd7c5c0
parent595213d4408b3608441bb78fd5ee49efb5b8b97f
* libbfd.c (bfd_log2): Do return rounded up value.
* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Replace bfd_log2
call with expanded old round down version of the function.
bfd/ChangeLog
bfd/elflink.c
bfd/libbfd.c