about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/mips/mips64/n32
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2005-02-25 15:18:13 +0000
committerAndreas Jaeger <aj@suse.de>2005-02-25 15:18:13 +0000
commit6740397ba71963a2552fcb3b68ae6922b1b29b2d (patch)
tree4d2f7a4e8cc3a075b06fbc69aa23bad1c742ca29 /sysdeps/unix/sysv/linux/mips/mips64/n32
parentec1af1d8cec0e548cb2590397f4e2ee0d8e5679e (diff)
downloadglibc-6740397ba71963a2552fcb3b68ae6922b1b29b2d.tar.gz
glibc-6740397ba71963a2552fcb3b68ae6922b1b29b2d.tar.xz
glibc-6740397ba71963a2552fcb3b68ae6922b1b29b2d.zip
[BZ #758]
2004-11-11  Richard Sandiford  <rsandifo@redhat.com>
	[BZ #758]
	* sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
	preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
	like __NR_N32_open.  Just include <asm/unistd.h> otherwise.
	* sysdeps/unix/sysv/linux/mips/configure: Regenerate.
	* sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
	* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
	standard __NR prefix.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
	* sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
	the output file is compatible with both pre-2.6 and 2.6 kernel headers.
	Extract separate syscall lists for each ABI.
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/mips64/n32')
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h b/sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
index be343aabca..e6013669a4 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2002, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -28,9 +28,9 @@
    so we have to redefine the `SYS_ify' macro here.  */
 #undef SYS_ify
 #ifdef __STDC__
-# define SYS_ify(syscall_name)	__NR_N32_##syscall_name
+# define SYS_ify(syscall_name)	__NR_##syscall_name
 #else
-# define SYS_ify(syscall_name)	__NR_N32_/**/syscall_name
+# define SYS_ify(syscall_name)	__NR_/**/syscall_name
 #endif
 
 #ifdef __ASSEMBLER__