summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-05 01:09:45 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-05 01:09:45 +0000
commit238c128e9f21c02dee1309c0e3570170597d0628 (patch)
tree382dc103de54d74578bccd43c673a37a3d6d26ca /libpthread/nptl/sysdeps
parentb523e45854c261aa995dd96082b112885457d1a7 (diff)
downloaduClibc-alpine-238c128e9f21c02dee1309c0e3570170597d0628.tar.bz2
uClibc-alpine-238c128e9f21c02dee1309c0e3570170597d0628.tar.xz
Import assembly version of 'syscall_error' so that it can be a hidden function and NPTL can include as well.
Diffstat (limited to 'libpthread/nptl/sysdeps')
-rw-r--r--libpthread/nptl/sysdeps/mips/Makefile.arch5
-rw-r--r--libpthread/nptl/sysdeps/mips/nptl-syscall_error.S2
2 files changed, 6 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/mips/Makefile.arch b/libpthread/nptl/sysdeps/mips/Makefile.arch
index 2b1238640..4c73ef583 100644
--- a/libpthread/nptl/sysdeps/mips/Makefile.arch
+++ b/libpthread/nptl/sysdeps/mips/Makefile.arch
@@ -5,7 +5,8 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-libpthread_SSRC = pthread_spin_lock.S pthread_spin_trylock.S
+libpthread_SSRC = pthread_spin_lock.S pthread_spin_trylock.S \
+ nptl-syscall_error.S
libc_a_CSRC = dl-support.c dl-tls.c libc-tls.c
@@ -14,6 +15,8 @@ CFLAGS-dl-support.c = -D_GNU_SOURCE
ASFLAGS-pthread_spin_lock.S = -DNOT_IN_libc=1 -DIS_IN_libpthread=1
ASFLAGS-pthread_spin_trylock.S = -DNOT_IN_libc=1 -DIS_IN_libpthread=1
+ASFLAGS-nptl-syscall_error.S = -DNOT_IN_libc=1 -DIS_IN_libpthread=1 \
+ -I$(top_srcdir)libc/sysdeps/linux/mips
CFLAGS-mips = $(SSP_ALL_CFLAGS)
#CFLAGS:=$(CFLAGS:-O1=-O2)
diff --git a/libpthread/nptl/sysdeps/mips/nptl-syscall_error.S b/libpthread/nptl/sysdeps/mips/nptl-syscall_error.S
new file mode 100644
index 000000000..7a4a8d311
--- /dev/null
+++ b/libpthread/nptl/sysdeps/mips/nptl-syscall_error.S
@@ -0,0 +1,2 @@
+/* Pull in __syscall_error. */
+#include <syscall_error.S>