1 | /* gnu_stab.h Definitions for GNU extensions to STABS |
---|
2 | |
---|
3 | Copyright 2001, 2010 Free Software Foundation, Inc. |
---|
4 | |
---|
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. |
---|
9 | |
---|
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. |
---|
14 | |
---|
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__ |
---|
20 | |
---|
21 | /* Indicate the GNU stab.h is in use. */ |
---|
22 | |
---|
23 | #define __GNU_STAB__ |
---|
24 | |
---|
25 | #define __define_stab(NAME, CODE, STRING) NAME=CODE, |
---|
26 | #define __define_stab_duplicate(NAME, CODE, STRING) NAME=CODE, |
---|
27 | |
---|
28 | enum __stab_debug_code |
---|
29 | { |
---|
30 | #include "aout/stab.def" |
---|
31 | LAST_UNUSED_STAB_CODE |
---|
32 | }; |
---|
33 | |
---|
34 | #undef __define_stab |
---|
35 | |
---|
36 | /* Definitions of "desc" field for N_SO stabs in Solaris2. */ |
---|
37 | |
---|
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 |
---|
44 | |
---|
45 | /* Solaris2: Floating point type values in basic types. */ |
---|
46 | |
---|
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) */ |
---|
54 | |
---|
55 | #endif /* __GNU_STAB_ */ |
---|