From daecc9a410a6f23d80daf8ce3afd280fea329e63 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 18 Nov 2010 14:58:01 +0000 Subject: metag: Add NPTL support Signed-off-by: Markos Chandras Signed-off-by: Bernhard Reutner-Fischer --- libpthread/nptl/sysdeps/metag/pthread_spin_unlock.S | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 libpthread/nptl/sysdeps/metag/pthread_spin_unlock.S (limited to 'libpthread/nptl/sysdeps/metag/pthread_spin_unlock.S') diff --git a/libpthread/nptl/sysdeps/metag/pthread_spin_unlock.S b/libpthread/nptl/sysdeps/metag/pthread_spin_unlock.S new file mode 100644 index 000000000..9bd95e675 --- /dev/null +++ b/libpthread/nptl/sysdeps/metag/pthread_spin_unlock.S @@ -0,0 +1,16 @@ +! Copyright (C) 2013 Imagination Technologies Ltd. + +! Licensed under LGPL v2.1 or later, see the file COPYING.LIB in this tarball. + + .text + .global _pthread_spin_unlock + .type _pthread_spin_unlock,function +_pthread_spin_unlock: + MOV D0Re0, #0 + SETD [D1Ar1], D0Re0 + MOV PC, D1RtP + .size _pthread_spin_unlock,.-_pthread_spin_unlock + + /* The implementation of pthread_spin_init is identical. */ + .global _pthread_spin_init +_pthread_spin_init = _pthread_spin_unlock -- cgit v1.2.3