1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Remove the i386-specific hack (well, we only run on i386 anyways)

to always set %gs when resuming a thread.

Install this library as libpthread instead of libkse.
This commit is contained in:
Daniel Eischen 2003-04-23 21:48:29 +00:00
parent f1c8192fd4
commit c159269082
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113943
2 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@
# To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
# system call stubs.
LIB=kse
LIB=pthread
SHLIB_MAJOR= 1
CFLAGS+=-DPTHREAD_KERNEL
CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
@ -20,9 +20,9 @@ CFLAGS+=-I${.CURDIR}/sys
CFLAGS+=-D_LOCK_DEBUG
#CFLAGS+= -g
.if ${MACHINE_ARCH} == "i386"
CFLAGS+=-DGS_HACK
.endif
#.if ${MACHINE_ARCH} == "i386"
#CFLAGS+=-DGS_HACK
#.endif
# enable extra internal consistancy checks
CFLAGS+=-D_PTHREADS_INVARIANTS -Wall

View File

@ -7,7 +7,7 @@
# To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
# system call stubs.
LIB=kse
LIB=pthread
SHLIB_MAJOR= 1
CFLAGS+=-DPTHREAD_KERNEL
CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
@ -20,9 +20,9 @@ CFLAGS+=-I${.CURDIR}/sys
CFLAGS+=-D_LOCK_DEBUG
#CFLAGS+= -g
.if ${MACHINE_ARCH} == "i386"
CFLAGS+=-DGS_HACK
.endif
#.if ${MACHINE_ARCH} == "i386"
#CFLAGS+=-DGS_HACK
#.endif
# enable extra internal consistancy checks
CFLAGS+=-D_PTHREADS_INVARIANTS -Wall