Module Name: src Committed By: bouyer Date: Sat Mar 17 18:28:39 UTC 2012
Modified Files: src/distrib/sets/lists/comp [netbsd-5]: mi src/include [netbsd-5]: link_elf.h src/lib/libc/dlfcn [netbsd-5]: dlfcn_elf.c src/libexec/ld.elf_so [netbsd-5]: Makefile headers.c load.c map_object.c reloc.c rtld.c rtld.h symbol.c src/libexec/ld.elf_so/arch/alpha [netbsd-5]: alpha_reloc.c src/libexec/ld.elf_so/arch/arm [netbsd-5]: mdreloc.c src/libexec/ld.elf_so/arch/hppa [netbsd-5]: hppa_reloc.c src/libexec/ld.elf_so/arch/i386 [netbsd-5]: mdreloc.c src/libexec/ld.elf_so/arch/m68k [netbsd-5]: mdreloc.c src/libexec/ld.elf_so/arch/mips [netbsd-5]: mips_reloc.c src/libexec/ld.elf_so/arch/powerpc [netbsd-5]: ppc_reloc.c src/libexec/ld.elf_so/arch/sh3 [netbsd-5]: mdreloc.c src/libexec/ld.elf_so/arch/sparc [netbsd-5]: mdreloc.c src/libexec/ld.elf_so/arch/sparc64 [netbsd-5]: mdreloc.c src/libexec/ld.elf_so/arch/vax [netbsd-5]: mdreloc.c src/libexec/ld.elf_so/arch/x86_64 [netbsd-5]: mdreloc.c src/rescue [netbsd-5]: list.ldd src/share/man/man3 [netbsd-5]: Makefile src/sys/sys [netbsd-5]: exec_elf.h src/usr.bin/ldd [netbsd-5]: ldd.c Added Files: src/share/man/man3 [netbsd-5]: dl_iterate_phdr.3 Log Message: Pull up following revision(s) via patch (requested by skrll in ticket #1724): rescue/list.ldd: revision 1.4 lib/libc/dlfcn/dlfcn_elf.c: revision 1.7 libexec/ld.elf_so/arch/mips/mips_reloc.c: revision 1.57 distrib/sets/lists/comp/mi: revision 1.1512 share/man/man3/Makefile: revision 1.56 libexec/ld.elf_so/arch/mips/mips_reloc.c: revision 1.58 usr.bin/ldd/ldd.c: revision 1.15 libexec/ld.elf_so/rtld.h: revision 1.84 share/man/man3/dl_iterate_phdr.3: revision 1.1 libexec/ld.elf_so/rtld.c: revision 1.129 libexec/ld.elf_so/arch/powerpc/ppc_reloc.c: revision 1.44 libexec/ld.elf_so/rtld.h: revision 1.89 libexec/ld.elf_so/arch/x86_64/mdreloc.c: revision 1.36 libexec/ld.elf_so/map_object.c: revision 1.41 libexec/ld.elf_so/arch/x86_64/mdreloc.c: revision 1.37 libexec/ld.elf_so/arch/sparc64/mdreloc.c: revision 1.46 include/link_elf.h: revision 1.10 libexec/ld.elf_so/arch/i386/mdreloc.c: revision 1.29 libexec/ld.elf_so/arch/vax/mdreloc.c: revision 1.26 libexec/ld.elf_so/arch/alpha/alpha_reloc.c: revision 1.34 libexec/ld.elf_so/arch/hppa/hppa_reloc.c: revision 1.31 libexec/ld.elf_so/arch/alpha/alpha_reloc.c: revision 1.35 libexec/ld.elf_so/Makefile: revision 1.94 libexec/ld.elf_so/arch/hppa/hppa_reloc.c: revision 1.32 libexec/ld.elf_so/Makefile: revision 1.95 libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.31 libexec/ld.elf_so/Makefile: revision 1.96 libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.32 libexec/ld.elf_so/reloc.c: revision 1.98 libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.33 sys/sys/exec_elf.h: revision 1.106 libexec/ld.elf_so/rtld.c: revision 1.130 libexec/ld.elf_so/load.c: revision 1.37 libexec/ld.elf_so/rtld.c: revision 1.131 libexec/ld.elf_so/load.c: revision 1.38 libexec/ld.elf_so/rtld.h: revision 1.90 libexec/ld.elf_so/headers.c: revision 1.36 libexec/ld.elf_so/rtld.h: revision 1.95 libexec/ld.elf_so/arch/i386/mdreloc.c: revision 1.30 libexec/ld.elf_so/arch/m68k/mdreloc.c: revision 1.25 libexec/ld.elf_so/symbol.c: revision 1.50 libexec/ld.elf_so/symbol.c: revision 1.51 libexec/ld.elf_so/arch/sparc/mdreloc.c: revision 1.43 libexec/ld.elf_so/symbol.c: revision 1.52 libexec/ld.elf_so/arch/sh3/mdreloc.c: revision 1.27 libexec/ld.elf_so/symbol.c: revision 1.54 PR/39240: Satoshi Suetake: Don't fail when attempting to resolve weak symbols when we are doing immediate binding, leave them alone and they will be dealt with later during lazy binding. From skrll@ Implement negative cache checks for symbol lookups. Uses the Donelist idea from FreeBSD. Use alloca(3) instead of local xmalloc for creating our DoneLists. This allows threaded programs to use us a little better, PR lib/43005. Implement dl_iterate_phdr. Somewhat taken from FreeBSD. Manual page from OpenBSD. To generate a diff of this commit: cvs rdiff -u -r1.1201.2.17 -r1.1201.2.18 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.7.28.1 -r1.7.28.2 src/include/link_elf.h cvs rdiff -u -r1.5.32.1 -r1.5.32.2 src/lib/libc/dlfcn/dlfcn_elf.c cvs rdiff -u -r1.87.2.1 -r1.87.2.2 src/libexec/ld.elf_so/Makefile cvs rdiff -u -r1.26.10.1 -r1.26.10.2 src/libexec/ld.elf_so/headers.c cvs rdiff -u -r1.35 -r1.35.12.1 src/libexec/ld.elf_so/load.c cvs rdiff -u -r1.36.4.2 -r1.36.4.3 src/libexec/ld.elf_so/map_object.c cvs rdiff -u -r1.96.4.2 -r1.96.4.3 src/libexec/ld.elf_so/reloc.c cvs rdiff -u -r1.123.2.2 -r1.123.2.3 src/libexec/ld.elf_so/rtld.c cvs rdiff -u -r1.79.4.3 -r1.79.4.4 src/libexec/ld.elf_so/rtld.h cvs rdiff -u -r1.47.4.2 -r1.47.4.3 src/libexec/ld.elf_so/symbol.c cvs rdiff -u -r1.31 -r1.31.4.1 src/libexec/ld.elf_so/arch/alpha/alpha_reloc.c cvs rdiff -u -r1.28 -r1.28.4.1 src/libexec/ld.elf_so/arch/arm/mdreloc.c cvs rdiff -u -r1.27 -r1.27.4.1 src/libexec/ld.elf_so/arch/hppa/hppa_reloc.c cvs rdiff -u -r1.26 -r1.26.4.1 src/libexec/ld.elf_so/arch/i386/mdreloc.c cvs rdiff -u -r1.22 -r1.22.4.1 src/libexec/ld.elf_so/arch/m68k/mdreloc.c cvs rdiff -u -r1.53 -r1.53.4.1 src/libexec/ld.elf_so/arch/mips/mips_reloc.c cvs rdiff -u -r1.41 -r1.41.4.1 src/libexec/ld.elf_so/arch/powerpc/ppc_reloc.c cvs rdiff -u -r1.24 -r1.24.4.1 src/libexec/ld.elf_so/arch/sh3/mdreloc.c cvs rdiff -u -r1.41 -r1.41.4.1 src/libexec/ld.elf_so/arch/sparc/mdreloc.c cvs rdiff -u -r1.43 -r1.43.4.1 src/libexec/ld.elf_so/arch/sparc64/mdreloc.c cvs rdiff -u -r1.23 -r1.23.4.1 src/libexec/ld.elf_so/arch/vax/mdreloc.c cvs rdiff -u -r1.32 -r1.32.4.1 src/libexec/ld.elf_so/arch/x86_64/mdreloc.c cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/rescue/list.ldd cvs rdiff -u -r1.32 -r1.32.2.1 src/share/man/man3/Makefile cvs rdiff -u -r0 -r1.2.10.2 src/share/man/man3/dl_iterate_phdr.3 cvs rdiff -u -r1.95 -r1.95.10.1 src/sys/sys/exec_elf.h cvs rdiff -u -r1.2.12.3 -r1.2.12.4 src/usr.bin/ldd/ldd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.