From: wilson Date: Tue, 19 May 1998 18:24:07 +0000 (+0000) Subject: Finish incomplete change started by Kenner. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f460763867913a61e302d9e2cdf86642fb64d546;p=platform%2Fupstream%2Flinaro-gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 811a157..f6f5bdb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +Tue May 19 18:21:25 1998 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. + 1998-05-19 Jim Wilson * 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 3cfd6b3..c44e73ea 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 fce5dc8..0ca03de 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 /* On BSD, use the system's stab.h. */ diff --git a/gcc/config/xm-linux.h b/gcc/config/xm-linux.h index 9a3838b..2cffdb7 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 0fad951..9448fdf 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 41917f4..3860842 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 013dca7..9dac137 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 /* On BSD, use the system's stab.h. */ diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c index 1c4b935..aab423c 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 /* On BSD, use the system's stab.h. */ diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c index 90ed5e3..0c44dec 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