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