summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2002-11-16 06:39:11 +0000
committerdeischen <deischen@FreeBSD.org>2002-11-16 06:39:11 +0000
commit4cf0594a9e451bc0c48f368bd1ec2f064332e2ca (patch)
tree187b54e82ccf9846c652fe26a47e02311b8b31e2 /lib
parent8ef1ab287a2d479cb2b67fe15b960270c87809ab (diff)
downloadFreeBSD-src-4cf0594a9e451bc0c48f368bd1ec2f064332e2ca.zip
FreeBSD-src-4cf0594a9e451bc0c48f368bd1ec2f064332e2ca.tar.gz
Disconnect the userland get/set/swapcontext() functions from
libc. I want to keep these in some version for the thread library/ies, but don't know whether to have them repo-copied to libc_r or renamed and kept in libc. Change the name of an alpha macro that was changed with the system call commit.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/alpha/gen/Makefile.inc2
-rw-r--r--lib/libc/alpha/gen/makecontext.c2
-rw-r--r--lib/libc/amd64/gen/Makefile.inc4
-rw-r--r--lib/libc/i386/gen/Makefile.inc4
4 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/alpha/gen/Makefile.inc b/lib/libc/alpha/gen/Makefile.inc
index 32c80d8..4e9d287 100644
--- a/lib/libc/alpha/gen/Makefile.inc
+++ b/lib/libc/alpha/gen/Makefile.inc
@@ -8,7 +8,7 @@ SRCS+= sigsetjmp.S
SRCS+= __divqu.S __divq.S __divlu.S __divl.S
SRCS+= __remqu.S __remq.S __remlu.S __reml.S
SRCS+= rfork_thread.S
-SRCS+= _ctx_start.S getcontext.S makecontext.c swapcontext.c
+SRCS+= _ctx_start.S makecontext.c
CLEANFILES+= __divqu.S __divq.S __divlu.S __divl.S
CLEANFILES+= __remqu.S __remq.S __remlu.S __reml.S
diff --git a/lib/libc/alpha/gen/makecontext.c b/lib/libc/alpha/gen/makecontext.c
index fa9856d..8adc137 100644
--- a/lib/libc/alpha/gen/makecontext.c
+++ b/lib/libc/alpha/gen/makecontext.c
@@ -90,7 +90,7 @@ __makecontext(ucontext_t *ucp, void (*start)(void), int argc, ...)
* Make sure the context is valid. For now, we only allow
* trapframe format contexts to be used for makecontext.
*/
- else if (ucp->uc_mcontext.mc_format == __UC_REV0_SIGFRAME) {
+ else if (ucp->uc_mcontext.mc_format == _MC_REV0_SIGFRAME) {
/*
* Alpha passes the first 6 parameters in registers and
* remaining parameters on the stack. Set up the context
diff --git a/lib/libc/amd64/gen/Makefile.inc b/lib/libc/amd64/gen/Makefile.inc
index c8656d1..2761608 100644
--- a/lib/libc/amd64/gen/Makefile.inc
+++ b/lib/libc/amd64/gen/Makefile.inc
@@ -1,6 +1,6 @@
# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
# $FreeBSD$
-SRCS+= _ctx_start.S _setjmp.S alloca.S fabs.S frexp.c getcontext.S \
+SRCS+= _ctx_start.S _setjmp.S alloca.S fabs.S frexp.c \
infinity.c isinf.c ldexp.c makecontext.c modf.S \
- rfork_thread.S setjmp.S signalcontext.c sigsetjmp.S swapcontext.c
+ rfork_thread.S setjmp.S signalcontext.c sigsetjmp.S
diff --git a/lib/libc/i386/gen/Makefile.inc b/lib/libc/i386/gen/Makefile.inc
index c8656d1..2761608 100644
--- a/lib/libc/i386/gen/Makefile.inc
+++ b/lib/libc/i386/gen/Makefile.inc
@@ -1,6 +1,6 @@
# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
# $FreeBSD$
-SRCS+= _ctx_start.S _setjmp.S alloca.S fabs.S frexp.c getcontext.S \
+SRCS+= _ctx_start.S _setjmp.S alloca.S fabs.S frexp.c \
infinity.c isinf.c ldexp.c makecontext.c modf.S \
- rfork_thread.S setjmp.S signalcontext.c sigsetjmp.S swapcontext.c
+ rfork_thread.S setjmp.S signalcontext.c sigsetjmp.S
OpenPOWER on IntegriCloud