Update of /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax
In directory sc8-pr-cvs1:/tmp/cvs-serv32294
Modified Files:
clone.S socket.S syscall.S sysdep.S sysdep.h
Log Message:
DA: new ENTRY/END macros
Index: clone.S
===================================================================
RCS file: /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax/clone.S,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- clone.S 27 Aug 2003 12:03:57 -0000 1.3
+++ clone.S 16 Jan 2004 13:28:21 -0000 1.4
@@ -24,10 +24,9 @@
/* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg); */
.text
-ENTRY (__clone)
+ENTRY (__clone, 0x3e)
/* Sanity check arguments: No NULL function pointers.
no NULL stack either.. cris allow NULL stack .. look into later */
- .word 0x3e
movl 4(%ap), %r2
cmpl $0, %r2
beql 1f
Index: socket.S
===================================================================
RCS file: /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax/socket.S,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- socket.S 28 Aug 2003 12:28:12 -0000 1.3
+++ socket.S 16 Jan 2004 13:28:21 -0000 1.4
@@ -40,8 +40,7 @@
#endif
.globl __socket
-ENTRY (__socket)
- .word 0xfc
+ENTRY (__socket, 0xfc)
/* Save registers. */
movl $SYS_ify(socketcall), %r0 /* System call number in %eax. */
Index: syscall.S
===================================================================
RCS file: /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax/syscall.S,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- syscall.S 9 Nov 2003 19:45:52 -0000 1.1
+++ syscall.S 16 Jan 2004 13:28:21 -0000 1.2
@@ -23,8 +23,7 @@
/* This implements syscall(2). The first argument is the syscall
number, the remaining args should be passed to the syscall */
-ENTRY(syscall)
- .word 0x0 /* no registers to preserve */
+ENTRY(syscall, 0)
/* syscall number to R0 */
movl 4(%ap), %r0
Index: sysdep.S
===================================================================
RCS file: /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax/sysdep.S,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- sysdep.S 28 Sep 2003 06:31:52 -0000 1.3
+++ sysdep.S 16 Jan 2004 13:28:21 -0000 1.4
@@ -31,8 +31,7 @@
#undef syscall_error
.globl __syscall_error
-ENTRY(__syscall_error)
- .word 0x0101
+ENTRY(__syscall_error, 0x0101)
#if defined(EWOULDBLOCK_sys) && EWOULDBLOCK_sys != EAGAIN
cmpl $EWOULDBLOCK_sys, %r0
@@ -56,4 +55,4 @@
ret
#endif
-END(__syscall_error)
\ No newline at end of file
+END(__syscall_error)
Index: sysdep.h
===================================================================
RCS file: /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax/sysdep.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- sysdep.h 9 Nov 2003 19:45:12 -0000 1.10
+++ sysdep.h 16 Jan 2004 13:28:21 -0000 1.11
@@ -45,8 +45,7 @@
#undef PSEUDO
#define PSEUDO(name, syscall_name, args) \
- ENTRY(name) \
- .word 0x0ffc ; \
+ ENTRY(name, 0x0ffc) \
DO_CALL(args, syscall_name) \
cmpl $-4095, %r0 ; \
bgtru no_error ; \
|