summaryrefslogtreecommitdiff
path: root/ldso/ldso/mips/dl-sysdep.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-08-26 11:30:48 +0000
committerEric Andersen <andersen@codepoet.org>2004-08-26 11:30:48 +0000
commitf8666418a90c3e1ebe5fe63d2249a16a1ca3190b (patch)
treee133a35588e6a99eb510099d620563a9b61c2c24 /ldso/ldso/mips/dl-sysdep.h
parent2c13012629aeedaa9280909128cc887e3f761eb1 (diff)
Relocations of the application's global GOT entries were not being run, and
only the global GOT entry relocations for the loaded shared libs were being handled. This made applications segfault when using un-fixedup symbols. After many hours debugging to track down the problem, this patch makes the mips port happy again. -Erik
Diffstat (limited to 'ldso/ldso/mips/dl-sysdep.h')
-rw-r--r--ldso/ldso/mips/dl-sysdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldso/ldso/mips/dl-sysdep.h b/ldso/ldso/mips/dl-sysdep.h
index 9c4a21580..549bcef9e 100644
--- a/ldso/ldso/mips/dl-sysdep.h
+++ b/ldso/ldso/mips/dl-sysdep.h
@@ -42,6 +42,8 @@ do { \
unsigned long _dl_linux_resolver(unsigned long sym_index,
unsigned long old_gpreg);
+struct elf_resolve;
+void _dl_perform_mips_global_got_relocations(struct elf_resolve *tpnt);
#define do_rem(result, n, base) result = (n % base)