From: niklas Date: Mon, 17 Feb 1997 09:03:32 +0000 (+0000) Subject: __NetBSD__ is going away from our gcc specs X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9d98e111fa1e937f1541b44e68bb099f8bfcce44;p=openbsd __NetBSD__ is going away from our gcc specs --- diff --git a/gnu/usr.bin/gas/config/tc-sparc.h b/gnu/usr.bin/gas/config/tc-sparc.h index ee680bf01c8..3287a913308 100644 --- a/gnu/usr.bin/gas/config/tc-sparc.h +++ b/gnu/usr.bin/gas/config/tc-sparc.h @@ -18,7 +18,7 @@ to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* - * $Id: tc-sparc.h,v 1.1.1.1 1995/10/18 08:39:06 deraadt Exp $ + * $Id: tc-sparc.h,v 1.2 1997/02/17 09:03:32 niklas Exp $ */ #define TC_SPARC 1 @@ -26,7 +26,7 @@ #define LOCAL_LABELS_FB #define WORKING_DOT_WORD -#ifdef __NetBSD__ +#if defined(__NetBSD__) || defined(__OpenBSD__) #define AOUT_MACHTYPE 138 #endif diff --git a/gnu/usr.bin/gcc/ginclude/stdarg.h b/gnu/usr.bin/gcc/ginclude/stdarg.h index ca79a3e2d63..9f6f3d39f33 100644 --- a/gnu/usr.bin/gcc/ginclude/stdarg.h +++ b/gnu/usr.bin/gcc/ginclude/stdarg.h @@ -46,7 +46,7 @@ #ifndef __GNUC_VA_LIST #define __GNUC_VA_LIST -#if defined(__svr4__) || defined(_AIX) || defined(_M_UNIX) || defined(__NetBSD__) +#if defined (__svr4__) || defined (_AIX) || defined (_M_UNIX) || defined (__NetBSD__) || defined (__OpenBSD__) typedef char *__gnuc_va_list; #else typedef void *__gnuc_va_list; diff --git a/gnu/usr.bin/gcc/ginclude/stddef.h b/gnu/usr.bin/gcc/ginclude/stddef.h index af3071fbfe7..2b78129f050 100644 --- a/gnu/usr.bin/gcc/ginclude/stddef.h +++ b/gnu/usr.bin/gcc/ginclude/stddef.h @@ -22,7 +22,7 @@ /* On 4.3bsd-net2, make sure ansi.h is included, so we have one less case to deal with in the following. */ -#if defined (__BSD_NET2__) || defined (____386BSD____) || defined (__FreeBSD__) || defined(__NetBSD__) +#if defined (__BSD_NET2__) || defined (____386BSD____) || defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) #include #endif diff --git a/gnu/usr.bin/gdb/bfd/arch/i386/sysdep.h b/gnu/usr.bin/gdb/bfd/arch/i386/sysdep.h index 3428ccffe3f..7fb0b0ea5ef 100644 --- a/gnu/usr.bin/gdb/bfd/arch/i386/sysdep.h +++ b/gnu/usr.bin/gdb/bfd/arch/i386/sysdep.h @@ -1,4 +1,4 @@ -/* $Id: sysdep.h,v 1.1.1.1 1995/10/18 08:39:54 deraadt Exp $ */ +/* $Id: sysdep.h,v 1.2 1997/02/17 09:08:33 niklas Exp $ */ #ifndef hosts_i386bsd_H /* Intel 386 running any BSD Unix */ #include @@ -28,7 +28,7 @@ (u.u_kproc.kp_eproc.e_vm.vm_maxsaddr + MAXSSIZ), which should work on both BSDI and 386BSD, but that is believed not to work for BSD 4.4. */ -#if defined(__bsdi__) || defined(__NetBSD__) +#if defined (__bsdi__) || defined (__NetBSD__) || defined (__OpenBSD__) /* This seems to be the right thing. */ #define HOST_STACK_END_ADDR USRSTACK #else diff --git a/gnu/usr.bin/gdb/gdb/c-exp.y b/gnu/usr.bin/gdb/gdb/c-exp.y index b8ddfa7029c..9a83ca60020 100644 --- a/gnu/usr.bin/gdb/gdb/c-exp.y +++ b/gnu/usr.bin/gdb/gdb/c-exp.y @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: c-exp.y,v 1.1.1.1 1995/10/18 08:39:56 deraadt Exp $ + $Id: c-exp.y,v 1.2 1997/02/17 09:11:23 niklas Exp $ */ /* Parse a C expression from text in a string, @@ -46,7 +46,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #include "language.h" #include "c-lang.h" -#ifndef __NetBSD__ +#if !defined (__NetBSD__) && !defined (__OpenBSD__) /* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc), as well as gratuitiously global symbol names, so we can have multiple yacc generated parsers in gdb. Note that these are only the variables @@ -83,7 +83,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #define yylloc c_lloc #define yyreds c_reds /* With YYDEBUG defined */ #define yytoks c_toks /* With YYDEBUG defined */ -#endif /* __NetBSD__ */ +#endif /* __NetBSD__ || __OpenBSD__ */ #ifndef YYDEBUG #define YYDEBUG 0 /* Default to no yydebug support */ diff --git a/gnu/usr.bin/gdb/gdb/ch-exp.y b/gnu/usr.bin/gdb/gdb/ch-exp.y index be6cfa2018a..c524a636728 100644 --- a/gnu/usr.bin/gdb/gdb/ch-exp.y +++ b/gnu/usr.bin/gdb/gdb/ch-exp.y @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: ch-exp.y,v 1.1.1.1 1995/10/18 08:39:57 deraadt Exp $ + $Id: ch-exp.y,v 1.2 1997/02/17 09:11:26 niklas Exp $ */ /* Parse a Chill expression from text in a string, @@ -64,7 +64,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #include "parser-defs.h" #include "ch-lang.h" -#ifndef __NetBSD__ +#if !defined (__NetBSD__) && !defined (__OpenBSD__) /* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc), as well as gratuitiously global symbol names, so we can have multiple yacc generated parsers in gdb. Note that these are only the variables @@ -101,7 +101,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #define yylloc chill_lloc #define yyreds chill_reds /* With YYDEBUG defined */ #define yytoks chill_toks /* With YYDEBUG defined */ -#endif /* __NetBSD__ */ +#endif /* __NetBSD__ || __OpenBSD__ */ #ifndef YYDEBUG #define YYDEBUG 0 /* Default to no yydebug support */ diff --git a/gnu/usr.bin/gdb/gdb/m2-exp.y b/gnu/usr.bin/gdb/gdb/m2-exp.y index 7cbea4dc592..4863bdb5631 100644 --- a/gnu/usr.bin/gdb/gdb/m2-exp.y +++ b/gnu/usr.bin/gdb/gdb/m2-exp.y @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: m2-exp.y,v 1.1.1.1 1995/10/18 08:40:01 deraadt Exp $ + $Id: m2-exp.y,v 1.2 1997/02/17 09:11:29 niklas Exp $ */ /* Parse a Modula-2 expression from text in a string, @@ -48,7 +48,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #include "parser-defs.h" #include "m2-lang.h" -#ifndef __NetBSD__ +#if !defined (__NetBSD__) && !defined (__OpenBSD__) /* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc), as well as gratuitiously global symbol names, so we can have multiple yacc generated parsers in gdb. Note that these are only the variables @@ -85,7 +85,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #define yylloc m2_lloc #define yyreds m2_reds /* With YYDEBUG defined */ #define yytoks m2_toks /* With YYDEBUG defined */ -#endif /* __NetBSD__ */ +#endif /* __NetBSD__ || __OpenBSD__ */ #ifndef YYDEBUG #define YYDEBUG 0 /* Default to no yydebug support */