From f8666418a90c3e1ebe5fe63d2249a16a1ca3190b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 26 Aug 2004 11:30:48 +0000 Subject: 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 --- ldso/ldso/mips/dl-sysdep.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ldso/ldso/mips/dl-sysdep.h') 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) -- cgit v1.2.3