Subject: CVS commit: [netbsd-3] src/lib/libc/arch/sh3
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 01/22/2006 10:26:33
Module Name:	src
Committed By:	tron
Date:		Sun Jan 22 10:26:33 UTC 2006

Modified Files:
	src/lib/libc/arch/sh3 [netbsd-3]: SYS.h
	src/lib/libc/arch/sh3/sys [netbsd-3]: __clone.S brk.S cerror.S fork.S
	    ptrace.S sbrk.S sigprocmask.S sigsuspend.S

Log Message:
Pull up following revision(s) (requested by uwe in ticket #1101):
	lib/libc/arch/sh3/SYS.h: revision 1.8
	lib/libc/arch/sh3/sys/brk.S: revision 1.10
	lib/libc/arch/sh3/sys/__clone.S: revision 1.6
	lib/libc/arch/sh3/sys/cerror.S: revision 1.9
	lib/libc/arch/sh3/sys/ptrace.S: revision 1.7
	lib/libc/arch/sh3/sys/fork.S: revision 1.9
	lib/libc/arch/sh3/sys/sbrk.S: revision 1.9
	lib/libc/arch/sh3/sys/sigprocmask.S: patch
	lib/libc/arch/sh3/sys/sigsuspend.S: patch
Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!


To generate a diff of this commit:
cvs rdiff -r1.6.6.1 -r1.6.6.2 src/lib/libc/arch/sh3/SYS.h
cvs rdiff -r1.3.6.2 -r1.3.6.3 src/lib/libc/arch/sh3/sys/__clone.S
cvs rdiff -r1.9 -r1.9.6.1 src/lib/libc/arch/sh3/sys/brk.S
cvs rdiff -r1.7.2.1 -r1.7.2.2 src/lib/libc/arch/sh3/sys/cerror.S
cvs rdiff -r1.8 -r1.8.6.1 src/lib/libc/arch/sh3/sys/fork.S \
    src/lib/libc/arch/sh3/sys/sbrk.S
cvs rdiff -r1.6 -r1.6.6.1 src/lib/libc/arch/sh3/sys/ptrace.S \
    src/lib/libc/arch/sh3/sys/sigprocmask.S
cvs rdiff -r1.5 -r1.5.6.1 src/lib/libc/arch/sh3/sys/sigsuspend.S

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