Subject: CVS commit: src/lib/csu
To: None <source-changes@NetBSD.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 09/07/2003 22:27:56
Module Name:	src
Committed By:	fvdl
Date:		Sun Sep  7 22:27:55 UTC 2003

Modified Files:
	src/lib/csu/common_elf: crtbegin.c dwarf2_eh.h
	src/lib/csu/x86_64: Makefile

Log Message:
Allow platforms to define __EH_FRAME_CONST. Currently "const" for x86_64,
empty for others. x86_64 (and s390, which we do not have) have .eh_frame
as a read-only section, so __EH_FRAME_BEGIN__ and the register/deregister
functions must take a const foo *.

This also fixes an ICE in gcc 3.3.1 (see gcc PR #9552)


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/lib/csu/common_elf/crtbegin.c
cvs rdiff -r1.1 -r1.2 src/lib/csu/common_elf/dwarf2_eh.h
cvs rdiff -r1.3 -r1.4 src/lib/csu/x86_64/Makefile

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