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 16:20:37
Module Name:	basesrc
Committed By:	mycroft
Date:		Fri Sep  6 13:20:36 UTC 2002

Modified Files:
	basesrc/libexec/ld.elf_so: map_object.c reloc.c rtld.h
	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/vax: mdreloc.c
	basesrc/libexec/ld.elf_so/arch/x86_64: mdreloc.c

Log Message:
Introduce a new flag, `isdynamic', which is used to remember whether the
executable was of type ET_DYN.  Use this instead of `mainprog' to determine
whether we need to do base-relative fixups of the PLT.  (This allows loading
non-relocatable objects, should we desire to do that at some point...)


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 basesrc/libexec/ld.elf_so/map_object.c
cvs rdiff -r1.63 -r1.64 basesrc/libexec/ld.elf_so/reloc.c
cvs rdiff -r1.43 -r1.44 basesrc/libexec/ld.elf_so/rtld.h
cvs rdiff -r1.11 -r1.12 basesrc/libexec/ld.elf_so/arch/alpha/alpha_reloc.c
cvs rdiff -r1.7 -r1.8 basesrc/libexec/ld.elf_so/arch/arm/mdreloc.c
cvs rdiff -r1.9 -r1.10 basesrc/libexec/ld.elf_so/arch/hppa/hppa_reloc.c
cvs rdiff -r1.7 -r1.8 basesrc/libexec/ld.elf_so/arch/i386/mdreloc.c
cvs rdiff -r1.7 -r1.8 basesrc/libexec/ld.elf_so/arch/m68k/mdreloc.c
cvs rdiff -r1.14 -r1.15 basesrc/libexec/ld.elf_so/arch/mips/mips_reloc.c
cvs rdiff -r1.19 -r1.20 basesrc/libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
cvs rdiff -r1.7 -r1.8 basesrc/libexec/ld.elf_so/arch/sh3/mdreloc.c
cvs rdiff -r1.7 -r1.8 basesrc/libexec/ld.elf_so/arch/vax/mdreloc.c
cvs rdiff -r1.13 -r1.14 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.