Subject: CVS commit: src/libexec/ld.elf_so/arch/m68k
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 02/28/2003 09:06:17
Module Name:	src
Committed By:	mycroft
Date:		Fri Feb 28 07:06:16 UTC 2003

Modified Files:
	src/libexec/ld.elf_so/arch/m68k: rtld_start.S

Log Message:
Similar to other rela platforms, do not use any GOT entries (other than the
first entry, which is a special case) in rtld_start, because they could be
all 0s.  Instead we use the difference between the real _DYNAMIC address
(which we can determine on 68k with a "lea (%pc,_DYNAMIC),..." and the
base-relative one (at the beginning of the GOT) to figure out the relocation
offset.

Not needed for binutils-current, but I might as well fix it now.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/libexec/ld.elf_so/arch/m68k/rtld_start.S

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