Subject: CVS commit: basesrc/libexec/ld.elf_so/arch/i386
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 09/11/2002 20:23:26
Module Name:	basesrc
Committed By:	mycroft
Date:		Wed Sep 11 17:23:26 UTC 2002

Modified Files:
	basesrc/libexec/ld.elf_so/arch/i386: Makefile.inc mdreloc.c
	    rtld_start.S
Removed Files:
	basesrc/libexec/ld.elf_so/arch/i386: ld.so.script

Log Message:
Split the `self' case out of _rtld_relocate_nonplt_objects, into a new function
_rtld_relocate_nonplt_self(), which is called from _rtld_start.
Now we're completely relocated before main() is called.
We also no longer need _GOT_END_, so junk the ld script.

This code assumes that ld.elf_so only contains RELATIVE relocs, but that's
supposed to be the case for -Bsymbolic anyway.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 basesrc/libexec/ld.elf_so/arch/i386/Makefile.inc
cvs rdiff -r1.1 -r0 basesrc/libexec/ld.elf_so/arch/i386/ld.so.script
cvs rdiff -r1.11 -r1.12 basesrc/libexec/ld.elf_so/arch/i386/mdreloc.c
cvs rdiff -r1.4 -r1.5 basesrc/libexec/ld.elf_so/arch/i386/rtld_start.S

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