* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / include / aout / stab_gnu.h
blob60b5272c59c0a81979f6b975def90da74f982336
1 /* gnu_stab.h Definitions for GNU extensions to STABS
3 Copyright 2001, 2010 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
10 This program 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
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
18 MA 02110-1301, USA. */
19 #ifndef __GNU_STAB__
21 /* Indicate the GNU stab.h is in use. */
23 #define __GNU_STAB__
25 #define __define_stab(NAME, CODE, STRING) NAME=CODE,
26 #define __define_stab_duplicate(NAME, CODE, STRING) NAME=CODE,
28 enum __stab_debug_code
30 #include "aout/stab.def"
31 LAST_UNUSED_STAB_CODE
34 #undef __define_stab
36 /* Definitions of "desc" field for N_SO stabs in Solaris2. */
38 #define N_SO_AS 1
39 #define N_SO_C 2
40 #define N_SO_ANSI_C 3
41 #define N_SO_CC 4 /* C++ */
42 #define N_SO_FORTRAN 5
43 #define N_SO_PASCAL 6
45 /* Solaris2: Floating point type values in basic types. */
47 #define NF_NONE 0
48 #define NF_SINGLE 1 /* IEEE 32-bit */
49 #define NF_DOUBLE 2 /* IEEE 64-bit */
50 #define NF_COMPLEX 3 /* Fortran complex */
51 #define NF_COMPLEX16 4 /* Fortran double complex */
52 #define NF_COMPLEX32 5 /* Fortran complex*16 */
53 #define NF_LDOUBLE 6 /* Long double (whatever that is) */
55 #endif /* __GNU_STAB_ */