Subject: CVS commit: src/lib/libpthread/arch
To: None <source-changes@NetBSD.org>
From: Nick Hudson <skrll@netbsd.org>
List: source-changes
Date: 01/04/2006 12:43:44
Module Name:	src
Committed By:	skrll
Date:		Wed Jan  4 12:43:43 UTC 2006

Modified Files:
	src/lib/libpthread/arch/i386: pthread_switch.S
	src/lib/libpthread/arch/sparc: pthread_switch.S
	src/lib/libpthread/arch/sparc64: pthread_switch.S
	src/lib/libpthread/arch/x86_64: pthread_switch.S

Log Message:
A couple of fixes to make libpthread really shared, i.e. not have text re-
locations:

	- Don't declare pthread__switch_away global
	- Do the PIC dance for pthread__switch_return_point and
	  pthread__locked_switch. Ideally these (and other) symbols would
	  be hidden.

Thanks to uwe@, dyoung@ and elad@ for help.

XXX sh3 is still to be done.
XXX vax does strange things.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/lib/libpthread/arch/i386/pthread_switch.S
cvs rdiff -r1.7 -r1.8 src/lib/libpthread/arch/sparc/pthread_switch.S
cvs rdiff -r1.8 -r1.9 src/lib/libpthread/arch/sparc64/pthread_switch.S
cvs rdiff -r1.10 -r1.11 src/lib/libpthread/arch/x86_64/pthread_switch.S

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