Make mips/mips64 syscall stubs more like the other architectures.
Change-Id: I55f8c1a95f643a6e484f12fbcc25e2c77e55b6b8
diff --git a/libc/arch-mips/syscalls/socket.S b/libc/arch-mips/syscalls/socket.S
index b6bd45e..2056bcd 100644
--- a/libc/arch-mips/syscalls/socket.S
+++ b/libc/arch-mips/syscalls/socket.S
@@ -1,14 +1,8 @@
/* Generated by gensyscalls.py. Do not edit. */
-#include <asm/unistd.h>
-#include <machine/asm.h>
-#include <machine/regdef.h>
- .text
- .globl socket
- .align 4
- .ent socket
+#include <private/bionic_asm.h>
-socket:
+ENTRY(socket)
.set noreorder
.cpload t9
li v0, __NR_socket
@@ -22,4 +16,4 @@
j t9
nop
.set reorder
- .end socket
+END(socket)