]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Allow __socket to be redefined.
authorUlrich Drepper <drepper@redhat.com>
Sun, 8 Mar 1998 21:42:59 +0000 (21:42 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 8 Mar 1998 21:42:59 +0000 (21:42 +0000)
sysdeps/unix/sysv/linux/sparc/socket.S

index 24aba3fc742c3dd5ac8ef1f0489274be25a1dfed..9e3d87996a3af9246f700de73d6570d72bf17bd5 100644 (file)
 
    The .S files for the other calls just #define socket and #include this.  */
 
-.globl P(__,socket)
-ENTRY (P(__,socket))
+#ifndef __socket
+#define __socket P(__,socket)
+#endif
+
+.globl __socket
+ENTRY (__socket)
        mov SYS_ify(socketcall), %g1    /* System call number */
 
        /* Use ## so `socket' is a separate token that might be #define'd.  */
@@ -53,6 +57,6 @@ ENTRY (P(__,socket))
 1:
        ret
 
-PSEUDO_END (P(__,socket))
+PSEUDO_END (__socket)
 
-weak_alias (P(__,socket), socket)
+weak_alias (__socket, socket)