summaryrefslogtreecommitdiff
path: root/src/ldso
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-25 00:18:19 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-25 00:18:19 -0400
commit368ba4a0a9aa5cc9a769872adbef6da433babf54 (patch)
tree227ae57011f3fc216a366e277fb54f7d72b2f254 /src/ldso
parente0b0ff1598ff747713631224a54e63af70761a71 (diff)
downloadmusl-368ba4a0a9aa5cc9a769872adbef6da433babf54.tar.gz
keep track of which dsos have been relocated
Diffstat (limited to 'src/ldso')
-rw-r--r--src/ldso/dynlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c
index b308b875..cb35759b 100644
--- a/src/ldso/dynlink.c
+++ b/src/ldso/dynlink.c
@@ -318,6 +318,7 @@ static void reloc_all(struct dso *p)
2, p->syms, p->strings, p);
do_relocs(p->base, (void *)(p->base+dyn[DT_RELA]), dyn[DT_RELASZ],
3, p->syms, p->strings, p);
+ p->relocated = 1;
}
}