1 | /* gnu_stab.h Definitions for GNU extensions to STABS
|
---|
2 |
|
---|
3 | Copyright 2001 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 2 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
---|
18 | #ifndef __GNU_STAB__
|
---|
19 |
|
---|
20 | /* Indicate the GNU stab.h is in use. */
|
---|
21 |
|
---|
22 | #define __GNU_STAB__
|
---|
23 |
|
---|
24 | #define __define_stab(NAME, CODE, STRING) NAME=CODE,
|
---|
25 | #define __define_stab_duplicate(NAME, CODE, STRING) NAME=CODE,
|
---|
26 |
|
---|
27 | enum __stab_debug_code
|
---|
28 | {
|
---|
29 | #include "aout/stab.def"
|
---|
30 | LAST_UNUSED_STAB_CODE
|
---|
31 | };
|
---|
32 |
|
---|
33 | #undef __define_stab
|
---|
34 |
|
---|
35 | /* Definitions of "desc" field for N_SO stabs in Solaris2. */
|
---|
36 |
|
---|
37 | #define N_SO_AS 1
|
---|
38 | #define N_SO_C 2
|
---|
39 | #define N_SO_ANSI_C 3
|
---|
40 | #define N_SO_CC 4 /* C++ */
|
---|
41 | #define N_SO_FORTRAN 5
|
---|
42 | #define N_SO_PASCAL 6
|
---|
43 |
|
---|
44 | /* Solaris2: Floating point type values in basic types. */
|
---|
45 |
|
---|
46 | #define NF_NONE 0
|
---|
47 | #define NF_SINGLE 1 /* IEEE 32-bit */
|
---|
48 | #define NF_DOUBLE 2 /* IEEE 64-bit */
|
---|
49 | #define NF_COMPLEX 3 /* Fortran complex */
|
---|
50 | #define NF_COMPLEX16 4 /* Fortran double complex */
|
---|
51 | #define NF_COMPLEX32 5 /* Fortran complex*16 */
|
---|
52 | #define NF_LDOUBLE 6 /* Long double (whatever that is) */
|
---|
53 |
|
---|
54 | #endif /* __GNU_STAB_ */
|
---|