summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-08-05 13:48:42 -0400
committerRich Felker <dalias@aerifal.cx>2012-08-05 13:48:42 -0400
commitfa91df41e82f0dc84edab3e9ec7dcb47d7195fa1 (patch)
treebbe5c5b2230c09a9016dc5f78881a6a1fa77dd9b /arch
parent59f4086cb157ab15ab59474d7cfab3a5cb92c5bd (diff)
downloadmusl-fa91df41e82f0dc84edab3e9ec7dcb47d7195fa1.tar.gz
more stuff lost committing mips dynamic linker
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/reloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/reloc.h b/arch/mips/reloc.h
index 853c8b85..e8925264 100644
--- a/arch/mips/reloc.h
+++ b/arch/mips/reloc.h
@@ -35,7 +35,7 @@ void __reloc_self(int c, size_t *a, size_t *dynv, size_t *got)
for (a=got; n; a++, n--) *a += (size_t)base;
}
-static void do_relocs(unsigned char *base, size_t *rel, size_t rel_size, size_t stride, Sym *syms, char *strings, struct dso *dso);
+static void do_relocs(struct dso *dso, size_t *rel, size_t rel_size, size_t stride);
static void do_arch_relocs(struct dso *this, struct dso *head)
{
@@ -65,7 +65,7 @@ static void do_arch_relocs(struct dso *this, struct dso *head)
rel[0] = got;
rel[1] = sym-this->syms << 8 | R_MIPS_JUMP_SLOT;
*(size_t *)(base+got) = 0;
- do_relocs(base, rel, sizeof rel, 2, this->syms, this->strings, head);
+ do_relocs(this, rel, sizeof rel, 2);
}
}