Subject: CVS commit: src/lib/libc
To: None <source-changes@NetBSD.org>
From: Valeriy E. Ushakov <uwe@netbsd.org>
List: source-changes
Date: 01/06/2006 03:58:31
Module Name:	src
Committed By:	uwe
Date:		Fri Jan  6 03:58:31 UTC 2006

Modified Files:
	src/lib/libc/arch/sh3: SYS.h
	src/lib/libc/arch/sh3/sys: __clone.S brk.S cerror.S fork.S ptrace.S
	    sbrk.S
	src/lib/libc/compat/arch/sh3/sys: compat_sigprocmask.S
	    compat_sigsuspend.S

Log Message:
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.7 -r1.8 src/lib/libc/arch/sh3/SYS.h
cvs rdiff -r1.5 -r1.6 src/lib/libc/arch/sh3/sys/__clone.S
cvs rdiff -r1.9 -r1.10 src/lib/libc/arch/sh3/sys/brk.S
cvs rdiff -r1.8 -r1.9 src/lib/libc/arch/sh3/sys/cerror.S \
    src/lib/libc/arch/sh3/sys/fork.S src/lib/libc/arch/sh3/sys/sbrk.S
cvs rdiff -r1.6 -r1.7 src/lib/libc/arch/sh3/sys/ptrace.S
cvs rdiff -r1.1 -r1.2 src/lib/libc/compat/arch/sh3/sys/compat_sigprocmask.S \
    src/lib/libc/compat/arch/sh3/sys/compat_sigsuspend.S

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