Subject: CVS commit: src/lib/libpthread
To: None <source-changes@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 05/16/2003 23:37:48
Module Name:	src
Committed By:	scw
Date:		Fri May 16 23:37:48 UTC 2003

Modified Files:
	src/lib/libpthread: pthread_lock.c

Log Message:
Both pthread__lock_ras_start and pthread__lock_ras_end need to be
explicitly declared global in the asm() statements for the benefit of
SH5 binutils. Otherwise, the assembler/linker (I haven't figured out
which) botches the SHmedia bit when generating GOT references for
these symbols in the shared version of the library.

Ok'd by Nathan.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/lib/libpthread/pthread_lock.c

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