projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51e2d83
)
dynamic linker 64bit fix: hash table entries are always 32bit
author
Rich Felker
<dalias@aerifal.cx>
Sun, 19 Jun 2011 02:52:01 +0000
(22:52 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 19 Jun 2011 02:52:01 +0000
(22:52 -0400)
src/ldso/dynlink.c
patch
|
blob
|
history
diff --git
a/src/ldso/dynlink.c
b/src/ldso/dynlink.c
index b44442526034ac0a15a634cb137734ffaef9598e..8ade0737f4af23301610cea363f44c524f4e50fa 100644
(file)
--- a/
src/ldso/dynlink.c
+++ b/
src/ldso/dynlink.c
@@
-35,7
+35,7
@@
struct dso
int refcnt;
size_t *dynv;
Sym *syms;
-
size
_t *hashtab;
+
uint32
_t *hashtab;
char *strings;
unsigned char *base;
unsigned char *map;
@@
-71,7
+71,7
@@
static uint32_t hash(const char *s)
return h & 0xfffffff;
}
-static Sym *lookup(const char *s, uint32_t h, Sym *syms,
size
_t *hashtab, char *strings)
+static Sym *lookup(const char *s, uint32_t h, Sym *syms,
uint32
_t *hashtab, char *strings)
{
size_t i;
for (i=hashtab[2+h%hashtab[0]]; i; i=hashtab[2+hashtab[0]+i]) {