--- gcc/config/ns32k/xm-netbsd.h 2018/04/24 18:21:18 1.1 +++ gcc/config/ns32k/xm-netbsd.h 2018/04/24 18:28:41 1.1.1.2 @@ -1,45 +1,10 @@ -/* Configuration for GNU C-compiler for the ns32532. - Copyright (C) 1987, 1993 Free Software Foundation, Inc. +/* Configuration for GCC for ns32k running NetBSD as host. */ -This file is part of GNU CC. +#include -GNU CC is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU CC is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id: xm-netbsd.h,v 1.1 2018/04/24 18:21:18 root Exp $ -*/ - -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - -/* target machine dependencies. - tm.h is a symbolic link to the actual target specific file. */ -#include "tm.h" - -/* This describes the machine the compiler is hosted on. */ -#define HOST_BITS_PER_CHAR 8 -#define HOST_BITS_PER_SHORT 16 -#define HOST_BITS_PER_INT 32 -#define HOST_BITS_PER_LONG 32 -#define HOST_BITS_PER_LONGLONG 64 - -/* Arguments to use with `exit'. */ -#define SUCCESS_EXIT_CODE 0 -#define FATAL_EXIT_CODE 33 - -/* NetBSD does have atexit. */ - -#define HAVE_ATEXIT +/* ns32k/xm-ns32k.h defines these macros, but we don't need them */ +#undef memcmp +#undef memcpy +#undef memset +#include