aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/sysofiles.sh
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2009-11-18 04:12:17 -0500
committerRuss Cox <rsc@swtch.com>2009-11-18 04:12:17 -0500
commitba940ae61c4c33766e385b63ecf49bec25f301d7 (patch)
treea2e97d18eff26dffb32306ae6cf18af14c6bc6ce /src/libthread/sysofiles.sh
parent778ec84c9c817be65404193e2156c8fdb90b846a (diff)
downloadplan9port-ba940ae61c4c33766e385b63ecf49bec25f301d7.tar.gz
plan9port-ba940ae61c4c33766e385b63ecf49bec25f301d7.tar.bz2
plan9port-ba940ae61c4c33766e385b63ecf49bec25f301d7.zip
libthread: context switching for arm, still not complete
Diffstat (limited to 'src/libthread/sysofiles.sh')
-rw-r--r--src/libthread/sysofiles.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libthread/sysofiles.sh b/src/libthread/sysofiles.sh
index cdc1ad02..27029471 100644
--- a/src/libthread/sysofiles.sh
+++ b/src/libthread/sysofiles.sh
@@ -4,6 +4,9 @@ test -f $PLAN9/config && . $PLAN9/config
tag="$OBJTYPE-$SYSNAME-${SYSVERSION:-`uname -r`}-${CC9:-cc}"
case "$tag" in
+arm-Linux-*)
+ echo ${SYSNAME}-${OBJTYPE}-asm.o $SYSNAME.o
+ ;;
*-Linux-2.6.*)
echo pthread.o
;;
@@ -36,5 +39,9 @@ sparc64-Linux)
# so we supply our own copy from the latest glibc.
echo Linux-sparc64-context.o Linux-sparc64-swapcontext.o
;;
+arm-Linux)
+ # ARM doesn't supply them either.
+ echo Linux-arm-context.o Linux-arm-swapcontext.o
+ ;;
esac