From 60dce8b9044155bb04eb310fb0fc5e9607b7d2e6 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 22 May 2015 08:36:08 -0300 Subject: Remove socket.S implementation This patch removes the socket.S implementation for all ports and replace it by a C implementation using socketcall. For ports that implement the syscall directly, there is no change. The patch idea is to simplify the socket function implementation that uses the socketcall to be based on C implemetation instead of a pseudo assembly implementation with arch specific parts. The patch then remove the assembly implementatation for the ports which uses socketcall (i386, microblaze, mips, powerpc, sparc, m68k, s390 and sh). I have cross-build GLIBC for afore-mentioned ports and tested on both i386 and ppc32 without regressions. --- sysdeps/unix/sysv/linux/recv.S | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 sysdeps/unix/sysv/linux/recv.S (limited to 'sysdeps/unix/sysv/linux/recv.S') diff --git a/sysdeps/unix/sysv/linux/recv.S b/sysdeps/unix/sysv/linux/recv.S deleted file mode 100644 index 331844abc1..0000000000 --- a/sysdeps/unix/sysv/linux/recv.S +++ /dev/null @@ -1,6 +0,0 @@ -#define socket recv -#define __socket __libc_recv -#define NARGS 4 -#define NEED_CANCELLATION -#include -weak_alias (__libc_recv, __recv) -- cgit 1.4.1