summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/read.S
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2007-11-19 15:35:12 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2007-11-19 15:35:12 +0000
commit414d8e5f2a73aff8e9404684571a65f85b27bf89 (patch)
tree879ac217d477f76cf965b244d98b383b663ff47b /libpthread/nptl/sysdeps/unix/sysv/linux/read.S
parent381fb7688d356f03e35b9254796adb29c941532b (diff)
downloaduClibc-alpine-414d8e5f2a73aff8e9404684571a65f85b27bf89.tar.bz2
uClibc-alpine-414d8e5f2a73aff8e9404684571a65f85b27bf89.tar.xz
Synch nptl branch with SH port: as requested by sjhill for mips-ash4 merge
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/read.S')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/read.S12
1 files changed, 11 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/read.S b/libpthread/nptl/sysdeps/unix/sysv/linux/read.S
index dc63d1763..d3adfa84c 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/read.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/read.S
@@ -1,9 +1,19 @@
#include <sysdep-cancel.h>
+
+/*
+extern int __read_nocancel (int, void *, size_t) attribute_hidden;
+*/
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+
PSEUDO (__libc_read, read, 3)
ret
-PSEUDO_END (__libc_read)
+PSEUDO_END(__libc_read)
+
+libc_hidden_def (__read_nocancel)
libc_hidden_def (__libc_read)
weak_alias (__libc_read, __read)
libc_hidden_weak (__read)
weak_alias (__libc_read, read)
libc_hidden_weak (read)
+
+#endif