178828Sobrien/* gnu_stab.h  Definitions for GNU extensions to STABS
278828Sobrien
378828Sobrien   Copyright 2001 Free Software Foundation, Inc.
478828Sobrien
578828Sobrien   This program is free software; you can redistribute it and/or modify
678828Sobrien   it under the terms of the GNU General Public License as published by
778828Sobrien   the Free Software Foundation; either version 2 of the License, or
878828Sobrien   (at your option) any later version.
978828Sobrien
1078828Sobrien   This program is distributed in the hope that it will be useful,
1178828Sobrien   but WITHOUT ANY WARRANTY; without even the implied warranty of
1278828Sobrien   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1378828Sobrien   GNU General Public License for more details.
1478828Sobrien
1578828Sobrien   You should have received a copy of the GNU General Public License
1678828Sobrien   along with this program; if not, write to the Free Software
17218822Sdim   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
1833965Sjdp#ifndef __GNU_STAB__
1933965Sjdp
2033965Sjdp/* Indicate the GNU stab.h is in use.  */
2133965Sjdp
2233965Sjdp#define __GNU_STAB__
2333965Sjdp
2433965Sjdp#define __define_stab(NAME, CODE, STRING) NAME=CODE,
2533965Sjdp#define __define_stab_duplicate(NAME, CODE, STRING) NAME=CODE,
2633965Sjdp
2733965Sjdpenum __stab_debug_code
2833965Sjdp{
2933965Sjdp#include "aout/stab.def"
3033965SjdpLAST_UNUSED_STAB_CODE
3133965Sjdp};
3233965Sjdp
3333965Sjdp#undef __define_stab
3433965Sjdp
3533965Sjdp/* Definitions of "desc" field for N_SO stabs in Solaris2.  */
3633965Sjdp
3733965Sjdp#define	N_SO_AS		1
3833965Sjdp#define	N_SO_C		2
3933965Sjdp#define	N_SO_ANSI_C	3
4033965Sjdp#define	N_SO_CC		4	/* C++ */
4133965Sjdp#define	N_SO_FORTRAN	5
4233965Sjdp#define	N_SO_PASCAL	6
4333965Sjdp
4433965Sjdp/* Solaris2: Floating point type values in basic types.  */
4533965Sjdp
4633965Sjdp#define	NF_NONE		0
4733965Sjdp#define	NF_SINGLE	1	/* IEEE 32-bit */
4833965Sjdp#define	NF_DOUBLE	2	/* IEEE 64-bit */
4933965Sjdp#define	NF_COMPLEX	3	/* Fortran complex */
5033965Sjdp#define	NF_COMPLEX16	4	/* Fortran double complex */
5133965Sjdp#define	NF_COMPLEX32	5	/* Fortran complex*16 */
5233965Sjdp#define	NF_LDOUBLE	6	/* Long double (whatever that is) */
5333965Sjdp
5433965Sjdp#endif /* __GNU_STAB_ */
55