xref: /dflybsd-src/contrib/binutils-2.27/include/aout/stab_gnu.h (revision e656dc90e3d65d744d534af2f5ea88cf8101ebcf)
1*a9fa9459Szrj /* gnu_stab.h  Definitions for GNU extensions to STABS
2*a9fa9459Szrj 
3*a9fa9459Szrj    Copyright (C) 2001-2016 Free Software Foundation, Inc.
4*a9fa9459Szrj 
5*a9fa9459Szrj    This program is free software; you can redistribute it and/or modify
6*a9fa9459Szrj    it under the terms of the GNU General Public License as published by
7*a9fa9459Szrj    the Free Software Foundation; either version 3 of the License, or
8*a9fa9459Szrj    (at your option) any later version.
9*a9fa9459Szrj 
10*a9fa9459Szrj    This program is distributed in the hope that it will be useful,
11*a9fa9459Szrj    but WITHOUT ANY WARRANTY; without even the implied warranty of
12*a9fa9459Szrj    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13*a9fa9459Szrj    GNU General Public License for more details.
14*a9fa9459Szrj 
15*a9fa9459Szrj    You should have received a copy of the GNU General Public License
16*a9fa9459Szrj    along with this program; if not, write to the Free Software
17*a9fa9459Szrj    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
18*a9fa9459Szrj    MA 02110-1301, USA.  */
19*a9fa9459Szrj #ifndef __GNU_STAB__
20*a9fa9459Szrj 
21*a9fa9459Szrj /* Indicate the GNU stab.h is in use.  */
22*a9fa9459Szrj 
23*a9fa9459Szrj #define __GNU_STAB__
24*a9fa9459Szrj 
25*a9fa9459Szrj #define __define_stab(NAME, CODE, STRING) NAME=CODE,
26*a9fa9459Szrj #define __define_stab_duplicate(NAME, CODE, STRING) NAME=CODE,
27*a9fa9459Szrj 
28*a9fa9459Szrj enum __stab_debug_code
29*a9fa9459Szrj {
30*a9fa9459Szrj #include "aout/stab.def"
31*a9fa9459Szrj LAST_UNUSED_STAB_CODE
32*a9fa9459Szrj };
33*a9fa9459Szrj 
34*a9fa9459Szrj #undef __define_stab
35*a9fa9459Szrj 
36*a9fa9459Szrj /* Definitions of "desc" field for N_SO stabs in Solaris2.  */
37*a9fa9459Szrj 
38*a9fa9459Szrj #define	N_SO_AS		1
39*a9fa9459Szrj #define	N_SO_C		2
40*a9fa9459Szrj #define	N_SO_ANSI_C	3
41*a9fa9459Szrj #define	N_SO_CC		4	/* C++ */
42*a9fa9459Szrj #define	N_SO_FORTRAN	5
43*a9fa9459Szrj #define	N_SO_PASCAL	6
44*a9fa9459Szrj 
45*a9fa9459Szrj /* Solaris2: Floating point type values in basic types.  */
46*a9fa9459Szrj 
47*a9fa9459Szrj #define	NF_NONE		0
48*a9fa9459Szrj #define	NF_SINGLE	1	/* IEEE 32-bit */
49*a9fa9459Szrj #define	NF_DOUBLE	2	/* IEEE 64-bit */
50*a9fa9459Szrj #define	NF_COMPLEX	3	/* Fortran complex */
51*a9fa9459Szrj #define	NF_COMPLEX16	4	/* Fortran double complex */
52*a9fa9459Szrj #define	NF_COMPLEX32	5	/* Fortran complex*16 */
53*a9fa9459Szrj #define	NF_LDOUBLE	6	/* Long double (whatever that is) */
54*a9fa9459Szrj 
55*a9fa9459Szrj #endif /* __GNU_STAB_ */
56