Commit c7391272 by Jim Wilson Committed by Jim Wilson

Finish incomplete change started by Kenner.

	* configure.in (*-*-linux-gnu*): Delete NO_STAB_H from xm_defines.
	(powerpcle-*-cygwin32): Delete xm_defines.
	* final.c, mips-tfile.c, xcoffout.c, config/mips/mips.c: Use
	HAVE_STAB_H instead of NO_STAB_H.
	* config/xm-linux.h (NO_STAB_H): Delete.
	(HAVE_STAB_H): Undefine.
	* config/i386/xm-go32.h (NO_STAB_H): Delete.

From-SVN: r19886
parent 5a11e05b
Tue May 19 18:21:25 1998 Jim Wilson <wilson@cygnus.com>
Finish incomplete change started by Kenner.
* configure.in (*-*-linux-gnu*): Delete NO_STAB_H from xm_defines.
(powerpcle-*-cygwin32): Delete xm_defines.
* final.c, mips-tfile.c, xcoffout.c, config/mips/mips.c: Use
HAVE_STAB_H instead of NO_STAB_H.
* config/xm-linux.h (NO_STAB_H): Delete.
(HAVE_STAB_H): Undefine.
* config/i386/xm-go32.h (NO_STAB_H): Delete.
1998-05-19 Jim Wilson <wilson@cygnus.com> 1998-05-19 Jim Wilson <wilson@cygnus.com>
* dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Ignore * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Ignore
......
...@@ -20,8 +20,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -20,8 +20,6 @@ Boston, MA 02111-1307, USA. */
#define __MSDOS__ 1 #define __MSDOS__ 1
#define NO_STAB_H
#include "i386/xm-i386.h" #include "i386/xm-i386.h"
/* Use semicolons to separate elements of a path. */ /* Use semicolons to separate elements of a path. */
......
...@@ -66,7 +66,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -66,7 +66,7 @@ Boston, MA 02111-1307, USA. */
#define X_OK 1 #define X_OK 1
#endif #endif
#if defined(USG) || defined(NO_STAB_H) #if defined(USG) || !defined(HAVE_STAB_H)
#include "gstab.h" /* If doing DBX on sysV, use our own stab.h. */ #include "gstab.h" /* If doing DBX on sysV, use our own stab.h. */
#else #else
#include <stab.h> /* On BSD, use the system's stab.h. */ #include <stab.h> /* On BSD, use the system's stab.h. */
......
...@@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */
/* We do have one, but I'd like to use the one come with gcc since /* We do have one, but I'd like to use the one come with gcc since
we have been doing that for a long time with USG defined. H.J. */ we have been doing that for a long time with USG defined. H.J. */
#define NO_STAB_H #undef HAVE_STAB_H
#undef BSTRING #undef BSTRING
#define BSTRING #define BSTRING
...@@ -2148,7 +2148,7 @@ for machine in $build $host $target; do ...@@ -2148,7 +2148,7 @@ for machine in $build $host $target; do
# Set the default macros to define for GNU/Linux systems. # Set the default macros to define for GNU/Linux systems.
case $machine in case $machine in
*-*-linux-gnu*) *-*-linux-gnu*)
xm_defines="HAVE_ATEXIT POSIX NO_STAB_H BSTRING" xm_defines="HAVE_ATEXIT POSIX BSTRING"
;; ;;
esac esac
...@@ -4211,7 +4211,6 @@ for machine in $build $host $target; do ...@@ -4211,7 +4211,6 @@ for machine in $build $host $target; do
powerpcle-*-pe | powerpcle-*-cygwin32) powerpcle-*-pe | powerpcle-*-cygwin32)
tm_file=rs6000/cygwin32.h tm_file=rs6000/cygwin32.h
xm_file="rs6000/xm-cygwin32.h ${xm_file}" xm_file="rs6000/xm-cygwin32.h ${xm_file}"
xm_defines=NO_STAB_H
tmake_file=rs6000/t-winnt tmake_file=rs6000/t-winnt
xmake_file=rs6000/x-cygwin32 xmake_file=rs6000/x-cygwin32
# extra_objs=pe.o # extra_objs=pe.o
......
...@@ -304,7 +304,7 @@ for machine in $build $host $target; do ...@@ -304,7 +304,7 @@ for machine in $build $host $target; do
# Set the default macros to define for GNU/Linux systems. # Set the default macros to define for GNU/Linux systems.
case $machine in case $machine in
*-*-linux-gnu*) *-*-linux-gnu*)
xm_defines="HAVE_ATEXIT POSIX NO_STAB_H BSTRING" xm_defines="HAVE_ATEXIT POSIX BSTRING"
;; ;;
esac esac
...@@ -2367,7 +2367,6 @@ for machine in $build $host $target; do ...@@ -2367,7 +2367,6 @@ for machine in $build $host $target; do
powerpcle-*-pe | powerpcle-*-cygwin32) powerpcle-*-pe | powerpcle-*-cygwin32)
tm_file=rs6000/cygwin32.h tm_file=rs6000/cygwin32.h
xm_file="rs6000/xm-cygwin32.h ${xm_file}" xm_file="rs6000/xm-cygwin32.h ${xm_file}"
xm_defines=NO_STAB_H
tmake_file=rs6000/t-winnt tmake_file=rs6000/t-winnt
xmake_file=rs6000/x-cygwin32 xmake_file=rs6000/x-cygwin32
# extra_objs=pe.o # extra_objs=pe.o
......
...@@ -73,7 +73,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -73,7 +73,7 @@ Boston, MA 02111-1307, USA. */
/* Get N_SLINE and N_SOL from stab.h if we can expect the file to exist. */ /* Get N_SLINE and N_SOL from stab.h if we can expect the file to exist. */
#if defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO) #if defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO)
#include "dbxout.h" #include "dbxout.h"
#if defined (USG) || defined (NO_STAB_H) #if defined (USG) || !defined (HAVE_STAB_H)
#include "gstab.h" /* If doing DBX on sysV, use our own stab.h. */ #include "gstab.h" /* If doing DBX on sysV, use our own stab.h. */
#else #else
#include <stab.h> /* On BSD, use the system's stab.h. */ #include <stab.h> /* On BSD, use the system's stab.h. */
......
...@@ -707,7 +707,7 @@ main () ...@@ -707,7 +707,7 @@ main ()
#include "mips/a.out.h" #include "mips/a.out.h"
#endif /* CROSS_COMPILE */ #endif /* CROSS_COMPILE */
#if defined (USG) || defined (NO_STAB_H) #if defined (USG) || !defined (HAVE_STAB_H)
#include "gstab.h" /* If doing DBX on sysV, use our own stab.h. */ #include "gstab.h" /* If doing DBX on sysV, use our own stab.h. */
#else #else
#include <stab.h> /* On BSD, use the system's stab.h. */ #include <stab.h> /* On BSD, use the system's stab.h. */
......
...@@ -37,7 +37,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -37,7 +37,7 @@ Boston, MA 02111-1307, USA. */
#include "xcoffout.h" #include "xcoffout.h"
#if defined (USG) || defined (NO_STAB_H) #if defined (USG) || !defined (HAVE_STAB_H)
#include "gstab.h" #include "gstab.h"
#else #else
#include <stab.h> #include <stab.h>
......
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