2002-07-06 Bruno Haible <bruno@clisp.org>

* 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.
This commit is contained in:
Roland McGrath 2002-08-26 11:37:24 +00:00
parent 564fb196d6
commit 631d94cb30
2 changed files with 6 additions and 6 deletions

View 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

View 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.
@ -108,7 +108,7 @@
#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
@ -145,7 +145,7 @@
*/
#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 \