mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
Update MIPS dl-lookup.c.
This commit is contained in:
parent
f335e01fe1
commit
a9ff8724b3
@ -1,3 +1,7 @@
|
||||
2011-11-11 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/mips/dl-lookup.c: Update from generic version.
|
||||
|
||||
2011-10-12 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/mips/fpu/e_sqrt.c: Add __sqrt_finite alias.
|
||||
|
@ -877,7 +877,6 @@ internal_function
|
||||
_dl_setup_hash (struct link_map *map)
|
||||
{
|
||||
Elf_Symndx *hash;
|
||||
Elf_Symndx nchain;
|
||||
|
||||
if (__builtin_expect (map->l_info[DT_ADDRTAGIDX (DT_GNU_HASH) + DT_NUM
|
||||
+ DT_THISPROCNUM + DT_VERSIONTAGNUM
|
||||
@ -909,7 +908,8 @@ _dl_setup_hash (struct link_map *map)
|
||||
hash = (void *) D_PTR (map, l_info[DT_HASH]);
|
||||
|
||||
map->l_nbuckets = *hash++;
|
||||
nchain = *hash++;
|
||||
/* Skip nchain. */
|
||||
hash++;
|
||||
map->l_buckets = hash;
|
||||
hash += map->l_nbuckets;
|
||||
map->l_chain = hash;
|
||||
|
Loading…
Reference in New Issue
Block a user