summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips/sys/regdef.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-06-12 02:15:11 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-06-12 02:15:11 +0000
commit69c1f07506ef56973b543c3ec111a4673c11f16c (patch)
treec290e80a383f9013715f2ace3e8c49ae7490c654 /libc/sysdeps/linux/mips/sys/regdef.h
parent7910749bb6b82696ad718f2ef75e9e181f1ad6f4 (diff)
downloaduClibc-alpine-69c1f07506ef56973b543c3ec111a4673c11f16c.tar.bz2
uClibc-alpine-69c1f07506ef56973b543c3ec111a4673c11f16c.tar.xz
Changed files for glibc compatibility so that more NPTL files would build.
Diffstat (limited to 'libc/sysdeps/linux/mips/sys/regdef.h')
-rw-r--r--libc/sysdeps/linux/mips/sys/regdef.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/mips/sys/regdef.h b/libc/sysdeps/linux/mips/sys/regdef.h
index 9d2c4c1c4..8fb898a2d 100644
--- a/libc/sysdeps/linux/mips/sys/regdef.h
+++ b/libc/sysdeps/linux/mips/sys/regdef.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ralf Baechle <ralf@gnu.org>.
@@ -20,6 +20,8 @@
#ifndef _SYS_REGDEF_H
#define _SYS_REGDEF_H
+#include <sgidefs.h>
+
/*
* Symbolic register names for 32 bit ABI
*/
@@ -31,7 +33,7 @@
#define a1 $5
#define a2 $6
#define a3 $7
-#if _MIPS_SIM != _MIPS_SIM_ABI32
+#if _MIPS_SIM != _ABIO32
#define a4 $8
#define a5 $9
#define a6 $10
@@ -44,7 +46,7 @@
#define ta1 a5
#define ta2 a6
#define ta3 a7
-#else /* if _MIPS_SIM == _MIPS_SIM_ABI32 */
+#else /* if _MIPS_SIM == _ABIO32 */
#define t0 $8 /* caller saved */
#define t1 $9
#define t2 $10
@@ -57,7 +59,7 @@
#define ta1 t5
#define ta2 t6
#define ta3 t7
-#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
+#endif /* _MIPS_SIM == _ABIO32 */
#define s0 $16 /* callee saved */
#define s1 $17
#define s2 $18