diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-06-25 00:18:19 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-06-25 00:18:19 -0400 |
commit | 368ba4a0a9aa5cc9a769872adbef6da433babf54 (patch) | |
tree | 227ae57011f3fc216a366e277fb54f7d72b2f254 /src/ldso | |
parent | e0b0ff1598ff747713631224a54e63af70761a71 (diff) | |
download | musl-368ba4a0a9aa5cc9a769872adbef6da433babf54.tar.gz |
keep track of which dsos have been relocated
Diffstat (limited to 'src/ldso')
-rw-r--r-- | src/ldso/dynlink.c | 1 |
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; } } |