Subject: CVS commit: src/libexec/ld.elf_so/arch
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 02/27/2003 07:39:43
Module Name: src
Committed By: mycroft
Date: Thu Feb 27 05:39:43 UTC 2003
Modified Files:
src/libexec/ld.elf_so/arch/sparc: rtld_start.S
src/libexec/ld.elf_so/arch/sparc64: rtld_start.S
Log Message:
Adjust for the fact that the GOT is all 0s in new binutils -- do the trick of
disassembling a call to _DYNAMIC to determine its real address, and using the
first entry of the GOT as its base-relative address.
It's evil, but it works.
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/libexec/ld.elf_so/arch/sparc/rtld_start.S
cvs rdiff -r1.14 -r1.15 src/libexec/ld.elf_so/arch/sparc64/rtld_start.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.