Subject: CVS commit: basesrc/libexec/ld.elf_so
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 09/06/2002 00:21:15
Module Name:	basesrc
Committed By:	mycroft
Date:		Thu Sep  5 21:21:14 UTC 2002

Modified Files:
	basesrc/libexec/ld.elf_so: reloc.c rtld.h symbol.c
	basesrc/libexec/ld.elf_so/arch/alpha: alpha_reloc.c
	basesrc/libexec/ld.elf_so/arch/arm: mdreloc.c
	basesrc/libexec/ld.elf_so/arch/hppa: hppa_reloc.c
	basesrc/libexec/ld.elf_so/arch/i386: mdreloc.c
	basesrc/libexec/ld.elf_so/arch/m68k: mdreloc.c
	basesrc/libexec/ld.elf_so/arch/mips: mips_reloc.c
	basesrc/libexec/ld.elf_so/arch/powerpc: ppc_reloc.c
	basesrc/libexec/ld.elf_so/arch/sh3: mdreloc.c
	basesrc/libexec/ld.elf_so/arch/sparc: mdreloc.c
	basesrc/libexec/ld.elf_so/arch/sparc64: mdreloc.c
	basesrc/libexec/ld.elf_so/arch/vax: mdreloc.c
	basesrc/libexec/ld.elf_so/arch/x86_64: mdreloc.c

Log Message:
A few things:
* Pass a symbol number to _rtld_find_symdef(), not a r_info.
* Don't try to do a symbol lookup when we find an unsupported relocation;
  instead get the symbol name from the referencing object's strtab.
* Add preliminary support for `-z combreloc'-style startup optimization on
  i386, `#ifdef COMBRELOC'.


To generate a diff of this commit:
cvs rdiff -r1.60 -r1.61 basesrc/libexec/ld.elf_so/reloc.c
cvs rdiff -r1.38 -r1.39 basesrc/libexec/ld.elf_so/rtld.h
cvs rdiff -r1.14 -r1.15 basesrc/libexec/ld.elf_so/symbol.c
cvs rdiff -r1.7 -r1.8 basesrc/libexec/ld.elf_so/arch/alpha/alpha_reloc.c
cvs rdiff -r1.3 -r1.4 basesrc/libexec/ld.elf_so/arch/arm/mdreloc.c
cvs rdiff -r1.5 -r1.6 basesrc/libexec/ld.elf_so/arch/hppa/hppa_reloc.c
cvs rdiff -r1.3 -r1.4 basesrc/libexec/ld.elf_so/arch/i386/mdreloc.c
cvs rdiff -r1.3 -r1.4 basesrc/libexec/ld.elf_so/arch/m68k/mdreloc.c
cvs rdiff -r1.9 -r1.10 basesrc/libexec/ld.elf_so/arch/mips/mips_reloc.c
cvs rdiff -r1.14 -r1.15 basesrc/libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
cvs rdiff -r1.3 -r1.4 basesrc/libexec/ld.elf_so/arch/sh3/mdreloc.c
cvs rdiff -r1.14 -r1.15 basesrc/libexec/ld.elf_so/arch/sparc/mdreloc.c
cvs rdiff -r1.9 -r1.10 basesrc/libexec/ld.elf_so/arch/sparc64/mdreloc.c
cvs rdiff -r1.3 -r1.4 basesrc/libexec/ld.elf_so/arch/vax/mdreloc.c
cvs rdiff -r1.9 -r1.10 basesrc/libexec/ld.elf_so/arch/x86_64/mdreloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.