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.
This commit is contained in:
Peter Wemm 2002-03-21 06:45:32 +00:00
parent 03742795eb
commit cc2dbb21e5
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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