2002-07-06 Bruno Haible <bruno@clisp.org>
authorRoland McGrath <roland@gnu.org>
Mon, 26 Aug 2002 11:37:24 +0000 (11:37 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 26 Aug 2002 11:37:24 +0000 (11:37 +0000)
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/hppa/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.

sysdeps/unix/sysv/linux/arm/sysdep.h
sysdeps/unix/sysv/linux/hppa/sysdep.h

index 89ad194..cdb1d8e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 93, 95-99, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1992,93,95-99,2000,02 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>, August 1995.
    ARM changes by Philip Blundell, <pjb27@cam.ac.uk>, May 1997.
@@ -51,7 +51,7 @@
   .text;                                                                     \
   .type syscall_error,%function;                                             \
   ENTRY (name);                                                                      \
-    DO_CALL (args, syscall_name);                                            \
+    DO_CALL (syscall_name, args);                                            \
     cmn r0, $4096;
 
 #define PSEUDO_RET                                                           \
@@ -95,7 +95,7 @@
 */
 
 #undef DO_CALL
-#define DO_CALL(args, syscall_name)            \
+#define DO_CALL(syscall_name, args)            \
     DOARGS_##args                              \
     swi SYS_ify (syscall_name);                \
     UNDOARGS_##args
index af255e1..4f08cc6 100644 (file)
@@ -1,5 +1,5 @@
 /* Assembler macros for PA-RISC.
-   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1999,2001,02 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper, <drepper@cygnus.com>, August 1999.
    Linux/PA-RISC changes by Philipp Rumpf, <prumpf@tux.org>, March 2000.
 
 #define        PSEUDO(name, syscall_name, args)                                      \
   ENTRY (name)                                                               \
-  DO_CALL(args, syscall_name)                                  ASM_LINE_SEP  \
+  DO_CALL(syscall_name, args)                                  ASM_LINE_SEP  \
   nop
 
 #undef PSEUDO_END
  */
 
 #undef DO_CALL
-#define DO_CALL(args, syscall_name)                            \
+#define DO_CALL(syscall_name, args)                            \
        DOARGS_##args                                           \
        ble  0x100(%sr2,%r0)                    ASM_LINE_SEP    \
        ldi SYS_ify (syscall_name), %r20        ASM_LINE_SEP    \