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/mips/mips32/internal_accept4.S | 2 -- sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S | 2 -- sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S | 2 -- 3 files changed, 6 deletions(-) delete mode 100644 sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S delete mode 100644 sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S delete mode 100644 sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S (limited to 'sysdeps/unix/sysv/linux/mips') diff --git a/sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S b/sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S deleted file mode 100644 index 30434d7334..0000000000 --- a/sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S +++ /dev/null @@ -1,2 +0,0 @@ -/* MIPS does not have socket.S and the socketcall syscall should - generally be avoided, though it exists. */ diff --git a/sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S b/sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S deleted file mode 100644 index 30434d7334..0000000000 --- a/sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S +++ /dev/null @@ -1,2 +0,0 @@ -/* MIPS does not have socket.S and the socketcall syscall should - generally be avoided, though it exists. */ diff --git a/sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S b/sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S deleted file mode 100644 index 30434d7334..0000000000 --- a/sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S +++ /dev/null @@ -1,2 +0,0 @@ -/* MIPS does not have socket.S and the socketcall syscall should - generally be avoided, though it exists. */ -- cgit 1.4.1