summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-03-21 06:45:32 +0000
committerpeter <peter@FreeBSD.org>2002-03-21 06:45:32 +0000
commite0773a724ed7f72042fe8f093d8f1e26b684f15c (patch)
tree25339f74f497814258372705d8abd4b7bf0a414d /lib
parent7ca3d3c8ba07f6a4f23e56705cb099de16686149 (diff)
downloadFreeBSD-src-e0773a724ed7f72042fe8f093d8f1e26b684f15c.zip
FreeBSD-src-e0773a724ed7f72042fe8f093d8f1e26b684f15c.tar.gz
Move swapcontext.c to the ${MACHINE_ARCH}/gen/Makefile.inc area, otherwise
it causes undefined references to getcontext() and setcontext() on platforms other than i386 and alpha.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/alpha/gen/Makefile.inc2
-rw-r--r--lib/libc/amd64/gen/Makefile.inc2
-rw-r--r--lib/libc/gen/Makefile.inc2
-rw-r--r--lib/libc/i386/gen/Makefile.inc2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/alpha/gen/Makefile.inc b/lib/libc/alpha/gen/Makefile.inc
index 209a55d..32c80d8 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
+SRCS+= _ctx_start.S getcontext.S makecontext.c swapcontext.c
CLEANFILES+= __divqu.S __divq.S __divlu.S __divl.S
CLEANFILES+= __remqu.S __remq.S __remlu.S __reml.S
diff --git a/lib/libc/amd64/gen/Makefile.inc b/lib/libc/amd64/gen/Makefile.inc
index fd2e21a..46fada9 100644
--- a/lib/libc/amd64/gen/Makefile.inc
+++ b/lib/libc/amd64/gen/Makefile.inc
@@ -3,4 +3,4 @@
SRCS+= _ctx_start.S _setjmp.S alloca.S getcontext.S fabs.S frexp.c \
infinity.c isinf.c ldexp.c makecontext.c modf.S \
- rfork_thread.S setjmp.S sigsetjmp.S
+ rfork_thread.S setjmp.S sigsetjmp.S swapcontext.c
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index 6f18368..40d9f6b 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -27,7 +27,7 @@ SRCS+= __xuname.c _pthread_stubs.c _rand48.c _spinlock_stub.c _thread_init.c \
setproctitle.c setprogname.c \
shmat.c shmctl.c shmdt.c shmget.c siginterrupt.c siglist.c signal.c \
sigsetops.c sleep.c srand48.c stringlist.c strtofflags.c \
- swapcontext.c sysconf.c sysctl.c sysctlbyname.c sysctlnametomib.c \
+ sysconf.c sysctl.c sysctlbyname.c sysctlnametomib.c \
syslog.c telldir.c termios.c time.c times.c timezone.c ttyname.c \
ttyslot.c ualarm.c uname.c unvis.c usleep.c utime.c valloc.c vis.c \
wait.c wait3.c waitpid.c
diff --git a/lib/libc/i386/gen/Makefile.inc b/lib/libc/i386/gen/Makefile.inc
index fd2e21a..46fada9 100644
--- a/lib/libc/i386/gen/Makefile.inc
+++ b/lib/libc/i386/gen/Makefile.inc
@@ -3,4 +3,4 @@
SRCS+= _ctx_start.S _setjmp.S alloca.S getcontext.S fabs.S frexp.c \
infinity.c isinf.c ldexp.c makecontext.c modf.S \
- rfork_thread.S setjmp.S sigsetjmp.S
+ rfork_thread.S setjmp.S sigsetjmp.S swapcontext.c
OpenPOWER on IntegriCloud