(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
[glibc.git] / sysdeps / mips / sgidefs.h
blob74509fdbd043d079fc2492f713895332e571cc7a
1 /* Copyright (C) 1996, 1997, 1998, 2003, 2004 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
3 Contributed by Ralf Baechle <ralf@gnu.org>.
5 The GNU C Library is free software; you can redistribute it and/or
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.
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
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18 02111-1307 USA. */
20 #ifndef _SGIDEFS_H
21 #define _SGIDEFS_H 1
24 * A crude hack to stop <asm/sgidefs.h>
26 #undef __ASM_SGIDEFS_H
27 #define __ASM_SGIDEFS_H
30 * And remove any damage it might have already done
32 #undef _MIPS_ISA_MIPS1
33 #undef _MIPS_ISA_MIPS2
34 #undef _MIPS_ISA_MIPS3
35 #undef _MIPS_ISA_MIPS4
36 #undef _MIPS_ISA_MIPS5
37 #undef _MIPS_ISA_MIPS32
38 #undef _MIPS_ISA_MIPS64
40 #undef _MIPS_SIM_ABI32
41 #undef _MIPS_SIM_NABI32
42 #undef _MIPS_SIM_ABI64
45 * Definitions for the ISA level
47 #define _MIPS_ISA_MIPS1 1
48 #define _MIPS_ISA_MIPS2 2
49 #define _MIPS_ISA_MIPS3 3
50 #define _MIPS_ISA_MIPS4 4
51 #define _MIPS_ISA_MIPS5 5
52 #define _MIPS_ISA_MIPS32 6
53 #define _MIPS_ISA_MIPS64 7
56 * Subprogram calling convention
58 #ifndef _ABIO32
59 # define _ABIO32 1
60 #endif
61 #define _MIPS_SIM_ABI32 _ABIO32
63 #ifndef _ABIN32
64 # define _ABIN32 2
65 #endif
66 #define _MIPS_SIM_NABI32 _ABIN32
68 #ifndef _ABI64
69 # define _ABI64 3
70 #endif
71 #define _MIPS_SIM_ABI64 _ABI64
73 #endif /* sgidefs.h */