aboutsummaryrefslogtreecommitdiff
path: root/gcc/mips-tfile.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2001-05-01 01:58:32 +0000
committerZack Weinberg <zack@gcc.gnu.org>2001-05-01 01:58:32 +0000
commit7719ffbf1ded6d87084c813e56bddd91136dd9f3 (patch)
tree61dda7eaae0598174891f72c3dedfbf248220c39 /gcc/mips-tfile.c
parente71b34aa4edbf78ac94eaed3d091f187387a0abe (diff)
downloadgcc-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/mips-tfile.c')
-rw-r--r--gcc/mips-tfile.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c
index d080493..ab381a5 100644
--- a/gcc/mips-tfile.c
+++ b/gcc/mips-tfile.c
@@ -670,17 +670,9 @@ main ()
#include "mips/a.out.h"
#endif /* CROSS_COMPILE */
-#if defined (USG) || !defined (HAVE_STAB_H)
-#include "gstab.h" /* If doing DBX on sysV, use our own stab.h. */
-#else
-#include <stab.h> /* On BSD, use the system's stab.h. */
-#endif /* not USG */
+#include "gstab.h"
-#ifdef __GNU_STAB__
#define STAB_CODE_TYPE enum __stab_debug_code
-#else
-#define STAB_CODE_TYPE int
-#endif
#ifndef MALLOC_CHECK
#ifdef __SABER__