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:
30fdc06
)
fix breakage in non-fdpic dynamic linker init/fini processing
author
Rich Felker
<dalias@aerifal.cx>
Tue, 22 Sep 2015 20:20:39 +0000
(20:20 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 22 Sep 2015 20:20:39 +0000
(20:20 +0000)
a mistaken #ifdef instead of #if caused conversion of code addresses
to function descriptors to be performed even on non-fdpic.
src/ldso/dynlink.c
patch
|
blob
|
history
diff --git
a/src/ldso/dynlink.c
b/src/ldso/dynlink.c
index f8325a010093c17a6c77a8b4386fdc59652895e1..8967505a0a17b2cafa44841f154b130ee59c2b5c 100644
(file)
--- a/
src/ldso/dynlink.c
+++ b/
src/ldso/dynlink.c
@@
-139,7
+139,7
@@
static int dl_strcmp(const char *l, const char *r)
#define strcmp(l,r) dl_strcmp(l,r)
/* Compute load address for a virtual address in a given dso. */
-#if
def
DL_FDPIC
+#if DL_FDPIC
static void *laddr(const struct dso *p, size_t v)
{
size_t j=0;