Commit 6e317b61 by Jim Wilson

(N_DSLINE, N_BSLINE): Delete definitions.

(stab_to_sclass): Use ifdefs to test for presence of N_MAIN,
N_BSLINE, N_DSLINE, N_BINCL, N_EINCL, N_EXCL, N_M2C, N_SCOPE.

From-SVN: r4461
parent f52152d6
...@@ -49,14 +49,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -49,14 +49,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif #endif
#endif #endif
/* These are GNU extensions we need to reference in this file. */
#ifndef N_DSLINE
#define N_DSLINE 0x46
#endif
#ifndef N_BSLINE
#define N_BSLINE 0x48
#endif
/* Line number of beginning of current function, minus one. /* Line number of beginning of current function, minus one.
Negative means not in a function or not using xcoff. */ Negative means not in a function or not using xcoff. */
...@@ -205,9 +197,11 @@ stab_to_sclass (stab) ...@@ -205,9 +197,11 @@ stab_to_sclass (stab)
case N_LCSYM: case N_LCSYM:
return C_STSYM; return C_STSYM;
#ifdef N_MAIN
case N_MAIN: case N_MAIN:
UNKNOWN_STAB ("N_MAIN"); UNKNOWN_STAB ("N_MAIN");
abort (); abort ();
#endif
case N_RSYM: case N_RSYM:
return C_RSYM; return C_RSYM;
...@@ -240,13 +234,17 @@ stab_to_sclass (stab) ...@@ -240,13 +234,17 @@ stab_to_sclass (stab)
UNKNOWN_STAB ("N_SLINE"); UNKNOWN_STAB ("N_SLINE");
abort (); abort ();
#ifdef N_DSLINE
case N_DSLINE: case N_DSLINE:
UNKNOWN_STAB ("N_DSLINE"); UNKNOWN_STAB ("N_DSLINE");
abort (); abort ();
#endif
#ifdef N_BSLINE
case N_BSLINE: case N_BSLINE:
UNKNOWN_STAB ("N_BSLINE"); UNKNOWN_STAB ("N_BSLINE");
abort (); abort ();
#endif
#if 0 #if 0
/* This has the same value as N_BSLINE. */ /* This has the same value as N_BSLINE. */
case N_BROWS: case N_BROWS:
...@@ -254,17 +252,23 @@ stab_to_sclass (stab) ...@@ -254,17 +252,23 @@ stab_to_sclass (stab)
abort (); abort ();
#endif #endif
#ifdef N_BINCL
case N_BINCL: case N_BINCL:
UNKNOWN_STAB ("N_BINCL"); UNKNOWN_STAB ("N_BINCL");
abort (); abort ();
#endif
#ifdef N_EINCL
case N_EINCL: case N_EINCL:
UNKNOWN_STAB ("N_EINCL"); UNKNOWN_STAB ("N_EINCL");
abort (); abort ();
#endif
#ifdef N_EXCL
case N_EXCL: case N_EXCL:
UNKNOWN_STAB ("N_EXCL"); UNKNOWN_STAB ("N_EXCL");
abort (); abort ();
#endif
case N_LBRAC: case N_LBRAC:
UNKNOWN_STAB ("N_LBRAC"); UNKNOWN_STAB ("N_LBRAC");
...@@ -289,13 +293,17 @@ stab_to_sclass (stab) ...@@ -289,13 +293,17 @@ stab_to_sclass (stab)
UNKNOWN_STAB ("N_PC"); UNKNOWN_STAB ("N_PC");
abort (); abort ();
#ifdef N_M2C
case N_M2C: case N_M2C:
UNKNOWN_STAB ("N_M2C"); UNKNOWN_STAB ("N_M2C");
abort (); abort ();
#endif
#ifdef N_SCOPE
case N_SCOPE: case N_SCOPE:
UNKNOWN_STAB ("N_SCOPE"); UNKNOWN_STAB ("N_SCOPE");
abort (); abort ();
#endif
case N_CATCH: case N_CATCH:
UNKNOWN_STAB ("N_CATCH"); UNKNOWN_STAB ("N_CATCH");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment