about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/connect.S
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/connect.S')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/connect.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/connect.S b/nptl/sysdeps/unix/sysv/linux/connect.S
new file mode 100644
index 0000000000..ce6a038fa5
--- /dev/null
+++ b/nptl/sysdeps/unix/sysv/linux/connect.S
@@ -0,0 +1,6 @@
+#define	socket	connect
+#define __socket __libc_connect
+#define	NARGS	3
+#include <pt-socket.S>
+strong_alias (__libc_connect, __connect_internal)
+weak_alias (__libc_connect, __connect)