projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math: move x86_64 exp2l implementation to exp2l.s from expl.s
[musl]
/
src
/
ldso
/
dynlink.c
diff --git
a/src/ldso/dynlink.c
b/src/ldso/dynlink.c
index
d564b8f
..
935367e
100644
(file)
--- a/
src/ldso/dynlink.c
+++ b/
src/ldso/dynlink.c
@@
-433,7
+433,7
@@
static struct dso *load_library(const char *name)
{
char buf[2*NAME_MAX+2];
const char *pathname;
{
char buf[2*NAME_MAX+2];
const char *pathname;
- unsigned char *
base, *
map;
+ unsigned char *map;
size_t map_len;
struct dso *p, temp_dso = {0};
int fd;
size_t map_len;
struct dso *p, temp_dso = {0};
int fd;
@@
-566,7
+566,7
@@
static struct dso *load_library(const char *name)
p->prev = tail;
tail = p;
p->prev = tail;
tail = p;
- if (ldd_mode) dprintf(1, "\t%s => %s (%p)\n", name, pathname, base);
+ if (ldd_mode) dprintf(1, "\t%s => %s (%p)\n", name, pathname,
p->
base);
return p;
}
return p;
}