386BSD -> NetBSD
This commit is contained in:
parent
035c29d067
commit
5e74c19b62
|
@ -1,6 +1,6 @@
|
|||
/* Configuration for an i386 running 386BSD as the target machine.
|
||||
/* Configuration for an i386 running NetBSD as the target machine.
|
||||
|
||||
$Id: tm.h,v 1.4 1993/12/05 00:49:43 cgd Exp $
|
||||
$Id: tm.h,v 1.5 1993/12/06 09:49:15 cgd Exp $
|
||||
*/
|
||||
|
||||
/* This is tested by i386gas.h. */
|
||||
|
@ -12,7 +12,7 @@
|
|||
#include "i386/perform.h"
|
||||
|
||||
#undef CPP_PREDEFINES
|
||||
#define CPP_PREDEFINES "-Di386 -D__NetBSD__ -D__386BSD__ -Dunix"
|
||||
#define CPP_PREDEFINES "-Di386 -D__NetBSD__ -Dunix"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
|
@ -31,7 +31,7 @@
|
|||
#undef WCHAR_TYPE_SIZE
|
||||
#define WCHAR_TYPE_SIZE 16
|
||||
|
||||
/* 386BSD does have atexit. */
|
||||
/* NetBSD does have atexit. */
|
||||
|
||||
#define HAVE_ATEXIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: gstddef.h,v 1.2 1993/08/02 17:34:43 mycroft Exp $ */
|
||||
/* $Id: gstddef.h,v 1.3 1993/12/06 09:50:17 cgd Exp $ */
|
||||
|
||||
#ifndef _STDDEF_H
|
||||
#ifndef _STDDEF_H_
|
||||
|
@ -21,7 +21,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____)
|
||||
#ifdef __NetBSD__
|
||||
#include <machine/ansi.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#ifndef lint
|
||||
/*static char sccsid[] = "from: @(#)i386bsd-dep.c 6.10 (Berkeley) 6/26/91";*/
|
||||
static char rcsid[] = "$Id: i386bsd-dep.c,v 1.3 1993/09/17 03:12:16 brezak Exp $";
|
||||
static char rcsid[] = "$Id: i386bsd-dep.c,v 1.4 1993/12/06 09:40:27 cgd Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/* Low level interface to ptrace, for GDB when running on the Intel 386.
|
||||
|
@ -1789,7 +1789,7 @@ i386_float_info ()
|
|||
{
|
||||
struct user u; /* just for address computations */
|
||||
int i;
|
||||
#ifndef __386BSD__
|
||||
#ifndef __NetBSD__
|
||||
/* fpstate defined in <sys/user.h> */
|
||||
struct fpstate *fpstatep;
|
||||
char buf[sizeof (struct fpstate) + 2 * sizeof (int)];
|
||||
|
|
Loading…
Reference in New Issue