keep track of which dsos have been relocated
authorRich Felker <dalias@aerifal.cx>
Sat, 25 Jun 2011 04:18:19 +0000 (00:18 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 25 Jun 2011 04:18:19 +0000 (00:18 -0400)
src/ldso/dynlink.c

index b308b875f995c0a06e5b24dfafc9cc40f3a0cd1a..cb35759bad6de15296c09143aff8e0ef3f20a74f 100644 (file)
@@ -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;
        }
 }