freebsd-dev/libexec/rtld-elf
Warner Losh 2ab1831e76 MFp4: Fix a bug in the mips relocation code that prevents shared images
from working.

From p4 filelog of the upstream file in p4

//depot/projects/mips2-jnpr/src/libexec/rtld-elf/mips/reloc.c
... #6 change 140737 edit on 2008/04/27 by gonzo@gonzo_jeeves (text+ko)

        o Looks like handler for R_MIPS_REL32 brought by CS 137942
            is broken for tradmips. Code from NetBSD's
            libexec/ld.elf_so/arch/mips/mips_reloc.c works just fine.

... #3 change 137942 edit on 2008/03/17 by rrs@rrs-mips2-jnpr (text+ko)

        Any relocation symbol lookup if its 0. It looks like
               this is the way the compiler indicates you need to
               look in another shared library. When we hit these
               as we relocate a object we will do the symbol
               lookups and setup the relocation table with the
               right value.

Submitted by:	rrs@, gonzo@
2008-10-10 05:10:10 +00:00
..
amd64 *thwack*! all the world's not i386. 2006-03-29 12:29:01 +00:00
arm Implement ELF symbol versioning using GNU semantics. This code aims 2005-12-18 19:43:33 +00:00
i386 Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
ia64 We don't need --export-dynamic for ld-elf.so.1, because it's a 2007-05-16 23:19:51 +00:00
mips MFp4: Fix a bug in the mips relocation code that prevents shared images 2008-10-10 05:10:10 +00:00
powerpc Include an extra header to get a function prototype. 2007-11-19 08:58:11 +00:00
sparc64 For un-prototyped static inline functions declared in pthread_md.h on 2007-12-01 14:24:44 +00:00
debug.c Fix warnings on 64 bit platforms. 2003-06-19 16:09:18 +00:00
debug.h Use C99's varadic macro syntax instead of gcc's. 2006-03-28 18:26:47 +00:00
libmap.c Fix a malloc overrun in 32-bit compat libmap lookup code. 2006-01-31 06:08:28 +00:00
libmap.h Description from Dan: 2005-02-04 02:46:41 +00:00
Makefile Enable GCC stack protection (aka Propolice) for userland: 2008-06-25 21:33:28 +00:00
malloc.c In preparation for a new malloc implementation: 2006-01-12 07:28:21 +00:00
map_object.c Implement dl_iterate_phdr function. 2007-04-03 18:31:20 +00:00
rtld_lock.c Allow multiple locks to be acquired by detecting corresponding 2008-09-16 01:46:11 +00:00
rtld_lock.h Fix the problem with the C++ exception handling for the multithreaded 2008-05-06 09:27:41 +00:00
rtld_tls.h Add support for Thread Local Storage. 2004-08-03 08:51:00 +00:00
rtld.1 Make the meaning of the %A format specifier, as passed to 2008-05-15 10:47:14 +00:00
rtld.c Allow strong symbols to override weak ones for lookups done through 2008-10-10 00:16:32 +00:00
rtld.h MFp4: Add mips support for dynamic linking. 2008-04-04 20:59:26 +00:00
Symbol.map Add r_debug_state to the list of symbols exported from rtld. GDB needs to 2007-07-11 23:07:37 +00:00
xmalloc.c Add function prototypes. 2003-06-19 05:28:26 +00:00