(do_lookup_x): Minimal improvement in hash lookup loop.

This commit is contained in:
Ulrich Drepper 2007-08-21 14:05:39 +00:00
parent b211fe0fef
commit d979c2f1e6
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ do_lookup_x (const char *undef_name, uint_fast32_t new_hash,
const Elf32_Word *hasharr = &map->l_gnu_chain_zero[bucket];
do
if ((*hasharr & ~1u) == (new_hash & ~1u))
if (((*hasharr ^ new_hash) >> 1) == 0)
{
symidx = hasharr - map->l_gnu_chain_zero;
sym = check_match (&symtab[symidx]);