From c159269082ff4282f60be105c938b3634d8a3f42 Mon Sep 17 00:00:00 2001 From: Daniel Eischen Date: Wed, 23 Apr 2003 21:48:29 +0000 Subject: [PATCH] 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. --- lib/libkse/Makefile | 8 ++++---- lib/libpthread/Makefile | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile index d4b88ca4a6d..beb105ec830 100644 --- a/lib/libkse/Makefile +++ b/lib/libkse/Makefile @@ -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 diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile index d4b88ca4a6d..beb105ec830 100644 --- a/lib/libpthread/Makefile +++ b/lib/libpthread/Makefile @@ -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