summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1998-05-19 18:24:07 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1998-05-19 18:24:07 +0000
commitf460763867913a61e302d9e2cdf86642fb64d546 (patch)
tree64b67e156ef4621ca2ceb97b5f188075c4ca40ea
parentc8075df7c0acac4444933547a98c51c119f4b1d8 (diff)
downloadgcc-f460763867913a61e302d9e2cdf86642fb64d546.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19886 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog11
-rw-r--r--gcc/config/i386/xm-go32.h2
-rw-r--r--gcc/config/mips/mips.c2
-rw-r--r--gcc/config/xm-linux.h2
-rwxr-xr-xgcc/configure3
-rw-r--r--gcc/configure.in3
-rw-r--r--gcc/final.c2
-rw-r--r--gcc/mips-tfile.c2
-rw-r--r--gcc/xcoffout.c2
9 files changed, 18 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 811a157a4b0..f6f5bdbff75 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,14 @@
+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>
* dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Ignore
diff --git a/gcc/config/i386/xm-go32.h b/gcc/config/i386/xm-go32.h
index 3cfd6b39992..c44e73ea421 100644
--- a/gcc/config/i386/xm-go32.h
+++ b/gcc/config/i386/xm-go32.h
@@ -20,8 +20,6 @@ Boston, MA 02111-1307, USA. */
#define __MSDOS__ 1
-#define NO_STAB_H
-
#include "i386/xm-i386.h"
/* Use semicolons to separate elements of a path. */
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index fce5dc8c7e6..0ca03deca0a 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -66,7 +66,7 @@ Boston, MA 02111-1307, USA. */
#define X_OK 1
#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. */
#else
#include <stab.h> /* On BSD, use the system's stab.h. */
diff --git a/gcc/config/xm-linux.h b/gcc/config/xm-linux.h
index 9a3838b7d7f..2cffdb7fab6 100644
--- a/gcc/config/xm-linux.h
+++ b/gcc/config/xm-linux.h
@@ -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 have been doing that for a long time with USG defined. H.J. */
-#define NO_STAB_H
+#undef HAVE_STAB_H
#undef BSTRING
#define BSTRING
diff --git a/gcc/configure b/gcc/configure
index 0fad95147ef..9448fdf7fcc 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -2148,7 +2148,7 @@ for machine in $build $host $target; do
# Set the default macros to define for GNU/Linux systems.
case $machine in
*-*-linux-gnu*)
- xm_defines="HAVE_ATEXIT POSIX NO_STAB_H BSTRING"
+ xm_defines="HAVE_ATEXIT POSIX BSTRING"
;;
esac
@@ -4211,7 +4211,6 @@ for machine in $build $host $target; do
powerpcle-*-pe | powerpcle-*-cygwin32)
tm_file=rs6000/cygwin32.h
xm_file="rs6000/xm-cygwin32.h ${xm_file}"
- xm_defines=NO_STAB_H
tmake_file=rs6000/t-winnt
xmake_file=rs6000/x-cygwin32
# extra_objs=pe.o
diff --git a/gcc/configure.in b/gcc/configure.in
index 41917f4472c..3860842dbe8 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -304,7 +304,7 @@ for machine in $build $host $target; do
# Set the default macros to define for GNU/Linux systems.
case $machine in
*-*-linux-gnu*)
- xm_defines="HAVE_ATEXIT POSIX NO_STAB_H BSTRING"
+ xm_defines="HAVE_ATEXIT POSIX BSTRING"
;;
esac
@@ -2367,7 +2367,6 @@ for machine in $build $host $target; do
powerpcle-*-pe | powerpcle-*-cygwin32)
tm_file=rs6000/cygwin32.h
xm_file="rs6000/xm-cygwin32.h ${xm_file}"
- xm_defines=NO_STAB_H
tmake_file=rs6000/t-winnt
xmake_file=rs6000/x-cygwin32
# extra_objs=pe.o
diff --git a/gcc/final.c b/gcc/final.c
index 013dca75574..9dac1376851 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -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. */
#if defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO)
#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. */
#else
#include <stab.h> /* On BSD, use the system's stab.h. */
diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c
index 1c4b935daa2..aab423c37b8 100644
--- a/gcc/mips-tfile.c
+++ b/gcc/mips-tfile.c
@@ -707,7 +707,7 @@ main ()
#include "mips/a.out.h"
#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. */
#else
#include <stab.h> /* On BSD, use the system's stab.h. */
diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c
index 90ed5e3da62..0c44dec781f 100644
--- a/gcc/xcoffout.c
+++ b/gcc/xcoffout.c
@@ -37,7 +37,7 @@ Boston, MA 02111-1307, USA. */
#include "xcoffout.h"
-#if defined (USG) || defined (NO_STAB_H)
+#if defined (USG) || !defined (HAVE_STAB_H)
#include "gstab.h"
#else
#include <stab.h>