Subject: CVS commit: src/lib/csu
To: None <source-changes@NetBSD.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 11/28/2003 23:25:54
Module Name: src
Committed By: fvdl
Date: Fri Nov 28 23:25:54 UTC 2003
Modified Files:
src/lib/csu/common_elf: common.c
src/lib/csu/x86_64: crt0.c
Log Message:
The x86_64 assembler seems to get it wrong when assembling
_eprol@GOTPCREL, it resolved it internally as a PC-relative instruction,
getting garbage, since the needed value is in the GOT. Add a CPP hook
to export it explicitly, this makes it work. Only active on amd64. XXX
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/lib/csu/common_elf/common.c
cvs rdiff -r1.2 -r1.3 src/lib/csu/x86_64/crt0.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.