diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2001-05-01 01:58:32 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-05-01 01:58:32 +0000 |
commit | 7719ffbf1ded6d87084c813e56bddd91136dd9f3 (patch) | |
tree | 61dda7eaae0598174891f72c3dedfbf248220c39 /gcc/xcoffout.c | |
parent | e71b34aa4edbf78ac94eaed3d091f187387a0abe (diff) | |
download | gcc-7719ffbf1ded6d87084c813e56bddd91136dd9f3.zip gcc-7719ffbf1ded6d87084c813e56bddd91136dd9f3.tar.gz gcc-7719ffbf1ded6d87084c813e56bddd91136dd9f3.tar.bz2 |
dbxout.c, [...]: Always include gstab.h, not system stab.h.
* dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
Always include gstab.h, not system stab.h. Don't provide
default definitions of N_CATCH or N_OPT. Always use the
gstab.h variant of STAB_CODE_TYPE.
* final.c: Don't include stab.h/gstab.h at all, or provide
defaults for N_SLINE and N_SOL.
* xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
available.
* sdbout.c: Always include gsyms.h instead of system syms.h.
* configure.in: No need to check for stab.h.
* configure, config.in: Regenerate.
* Makefile.in (final.o): Don't depend on gstab.h.
From-SVN: r41713
Diffstat (limited to 'gcc/xcoffout.c')
-rw-r--r-- | gcc/xcoffout.c | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c index ea0a5b7..326a692 100644 --- a/gcc/xcoffout.c +++ b/gcc/xcoffout.c @@ -36,16 +36,10 @@ Boston, MA 02111-1307, USA. */ #ifdef XCOFF_DEBUGGING_INFO /* This defines the C_* storage classes. */ -#include <dbxstclass.h> - +#include "dbxstclass.h" #include "xcoffout.h" #include "dbxout.h" - -#if defined (USG) || !defined (HAVE_STAB_H) #include "gstab.h" -#else -#include <stab.h> -#endif /* Line number of beginning of current function, minus one. Negative means not in a function or not using xcoff. */ @@ -196,10 +190,8 @@ stab_to_sclass (stab) case N_LCSYM: return C_STSYM; -#ifdef N_MAIN case N_MAIN: UNKNOWN_STAB ("N_MAIN"); -#endif case N_RSYM: return C_RSYM; @@ -228,30 +220,20 @@ stab_to_sclass (stab) case N_SLINE: UNKNOWN_STAB ("N_SLINE"); -#ifdef N_DSLINE case N_DSLINE: UNKNOWN_STAB ("N_DSLINE"); -#endif -#ifdef N_BSLINE case N_BSLINE: UNKNOWN_STAB ("N_BSLINE"); -#endif -#ifdef N_BINCL case N_BINCL: UNKNOWN_STAB ("N_BINCL"); -#endif -#ifdef N_EINCL case N_EINCL: UNKNOWN_STAB ("N_EINCL"); -#endif -#ifdef N_EXCL case N_EXCL: UNKNOWN_STAB ("N_EXCL"); -#endif case N_LBRAC: UNKNOWN_STAB ("N_LBRAC"); @@ -272,25 +254,17 @@ stab_to_sclass (stab) case N_PC: UNKNOWN_STAB ("N_PC"); -#ifdef N_M2C case N_M2C: UNKNOWN_STAB ("N_M2C"); -#endif -#ifdef N_SCOPE case N_SCOPE: UNKNOWN_STAB ("N_SCOPE"); -#endif -#ifdef N_CATCH case N_CATCH: UNKNOWN_STAB ("N_CATCH"); -#endif -#ifdef N_OPT case N_OPT: UNKNOWN_STAB ("N_OPT"); -#endif default: UNKNOWN_STAB ("?"); |