From 368ba4a0a9aa5cc9a769872adbef6da433babf54 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 25 Jun 2011 00:18:19 -0400 Subject: [PATCH] keep track of which dsos have been relocated --- src/ldso/dynlink.c | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.25.1