From: Rich Felker Date: Sat, 25 Jun 2011 04:18:19 +0000 (-0400) Subject: keep track of which dsos have been relocated X-Git-Tag: v0.7.11~32 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=368ba4a0a9aa5cc9a769872adbef6da433babf54;p=oweals%2Fmusl.git keep track of which dsos have been relocated --- 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; } }