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/hppa/socket.S | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 sysdeps/unix/sysv/linux/hppa/socket.S (limited to 'sysdeps/unix/sysv/linux/hppa') diff --git a/sysdeps/unix/sysv/linux/hppa/socket.S b/sysdeps/unix/sysv/linux/hppa/socket.S deleted file mode 100644 index dfbb721a82..0000000000 --- a/sysdeps/unix/sysv/linux/hppa/socket.S +++ /dev/null @@ -1,10 +0,0 @@ -#include - - .globl __socket -PSEUDO(__socket, socket, 3) - -PSEUDO_END(__socket) - -#ifndef NO_WEAK_ALIAS -weak_alias (__socket, socket) -#endif -- cgit v1.2.1