summaryrefslogtreecommitdiff
path: root/gcc/xcoffout.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-01 01:58:32 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-01 01:58:32 +0000
commit78f1e69852e7cdfd8d8e1a3865f661f5ff6a61da (patch)
tree61dda7eaae0598174891f72c3dedfbf248220c39 /gcc/xcoffout.c
parent90f960d56f5b3e3e5076b1fc80ee891ee476213d (diff)
downloadgcc-78f1e69852e7cdfd8d8e1a3865f661f5ff6a61da.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41713 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/xcoffout.c')
-rw-r--r--gcc/xcoffout.c28
1 files changed, 1 insertions, 27 deletions
diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c
index ea0a5b7ced0..326a6927c75 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 ("?");