]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/mips/sgidefs.h
Replace FSF snail mail address by URL.
[thirdparty/glibc.git] / sysdeps / mips / sgidefs.h
CommitLineData
9b7b62e6 1/* Copyright (C) 1996, 1997, 1998, 2003, 2004 Free Software Foundation, Inc.
579075e8
UD
2 This file is part of the GNU C Library.
3 Contributed by Ralf Baechle <ralf@gnu.org>.
4
5 The GNU C Library is free software; you can redistribute it and/or
3214b89b
AJ
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
579075e8
UD
9
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3214b89b 13 Lesser General Public License for more details.
579075e8 14
3214b89b 15 You should have received a copy of the GNU Lesser General Public
ab84e3ff
PE
16 License along with the GNU C Library. If not, see
17 <http://www.gnu.org/licenses/>. */
579075e8
UD
18
19#ifndef _SGIDEFS_H
20#define _SGIDEFS_H 1
21
9b7b62e6
AJ
22/*
23 * A crude hack to stop <asm/sgidefs.h>
24 */
25#undef __ASM_SGIDEFS_H
26#define __ASM_SGIDEFS_H
27
28/*
29 * And remove any damage it might have already done
30 */
31#undef _MIPS_ISA_MIPS1
32#undef _MIPS_ISA_MIPS2
33#undef _MIPS_ISA_MIPS3
34#undef _MIPS_ISA_MIPS4
35#undef _MIPS_ISA_MIPS5
36#undef _MIPS_ISA_MIPS32
37#undef _MIPS_ISA_MIPS64
38
39#undef _MIPS_SIM_ABI32
40#undef _MIPS_SIM_NABI32
41#undef _MIPS_SIM_ABI64
42
579075e8
UD
43/*
44 * Definitions for the ISA level
45 */
46#define _MIPS_ISA_MIPS1 1
47#define _MIPS_ISA_MIPS2 2
48#define _MIPS_ISA_MIPS3 3
49#define _MIPS_ISA_MIPS4 4
50#define _MIPS_ISA_MIPS5 5
f4e9c08c
AO
51#define _MIPS_ISA_MIPS32 6
52#define _MIPS_ISA_MIPS64 7
579075e8
UD
53
54/*
55 * Subprogram calling convention
579075e8 56 */
9b7b62e6
AJ
57#ifndef _ABIO32
58# define _ABIO32 1
59#endif
60#define _MIPS_SIM_ABI32 _ABIO32
61
62#ifndef _ABIN32
63# define _ABIN32 2
64#endif
65#define _MIPS_SIM_NABI32 _ABIN32
66
67#ifndef _ABI64
68# define _ABI64 3
69#endif
70#define _MIPS_SIM_ABI64 _ABI64
579075e8
UD
71
72#endif /* sgidefs.h */