From 547a559d0173843b660dcb152b53728deb25f2d8 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Tue, 3 Apr 2001 17:38:23 +0000 Subject: [PATCH] xm-beos.h, [...]: Delete. * config/i386/xm-beos.h, config/i386/xm-isc.h, config/i386/xm-next.h, config/i386/xm-sco.h, config/i386/xm-sco5.h, config/m68k/xm-plexus.h, config/m88k/xm-m88k.h: Delete. * config/i386/xm-djgpp.h: Don't define __MSDOS__. * config/romp/xm-romp.h: Don't define bcopy. * config/rs6000/xm-beos.h: Don't define bcopy, HAVE_VPRINTF, HAVE_PUTENV, HAVE_RENAME, or USE_C_ALLOCA. * config.gcc: Remove references to deleted files. From-SVN: r41061 --- gcc/ChangeLog | 16 +++++++++++++ gcc/config.gcc | 9 ------- gcc/config/i386/xm-beos.h | 48 ------------------------------------- gcc/config/i386/xm-djgpp.h | 2 -- gcc/config/i386/xm-isc.h | 4 ---- gcc/config/i386/xm-next.h | 3 --- gcc/config/i386/xm-sco.h | 5 ---- gcc/config/i386/xm-sco5.h | 5 ---- gcc/config/m68k/xm-next.h | 3 --- gcc/config/m68k/xm-plexus.h | 6 ----- gcc/config/m88k/xm-m88k.h | 26 -------------------- gcc/config/romp/xm-romp.h | 4 +--- gcc/config/rs6000/xm-beos.h | 23 ------------------ 13 files changed, 17 insertions(+), 137 deletions(-) delete mode 100644 gcc/config/i386/xm-beos.h delete mode 100644 gcc/config/i386/xm-isc.h delete mode 100644 gcc/config/i386/xm-next.h delete mode 100644 gcc/config/i386/xm-sco.h delete mode 100644 gcc/config/i386/xm-sco5.h delete mode 100644 gcc/config/m68k/xm-next.h delete mode 100644 gcc/config/m68k/xm-plexus.h delete mode 100644 gcc/config/m88k/xm-m88k.h diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a63667af04c..a7e060f8147 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,19 @@ +2001-04-03 Zack Weinberg + + * config/i386/xm-beos.h, config/i386/xm-isc.h, + config/i386/xm-next.h, config/i386/xm-sco.h, + config/i386/xm-sco5.h, config/m68k/xm-plexus.h, + config/m88k/xm-m88k.h: Delete. + + * config/i386/xm-djgpp.h: Don't define __MSDOS__. + * config/romp/xm-romp.h: Don't define bcopy. + * config/rs6000/xm-beos.h: Don't define bcopy, HAVE_VPRINTF, + HAVE_PUTENV, HAVE_RENAME, or USE_C_ALLOCA. + + * config.gcc: Remove references to deleted files. + + 14 xm-host.h remain, 1 xm-cpu.h. + 2001-04-03 Jakub Jelinek David S. Miller Andrew MacLeod diff --git a/gcc/config.gcc b/gcc/config.gcc index 7fe802b95f0..13090857f37 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -988,7 +988,6 @@ i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4 ;; i[34567]86-next-*) tm_file=i386/next.h - xm_file=i386/xm-next.h tmake_file=i386/t-next xmake_file=i386/x-next extra_objs=nextstep.o @@ -1054,7 +1053,6 @@ i[34567]86-*-aout*) ;; i[34567]86-*-beoself* | i[34567]86-*-beos*) xm_defines=USG - xm_file=i386/xm-beos.h tmake_file='i386/t-beos i386/t-crtpic' tm_file=i386/beos-elf.h xmake_file=i386/x-beos @@ -1102,7 +1100,6 @@ i[34567]86-*-coff*) tmake_file=i386/t-i386bare ;; i[34567]86-*-isc*) # 80386 running ISC system - xm_file="${xm_file} i386/xm-isc.h" xm_defines=USG case $machine in i[34567]86-*-isc[34]*) @@ -1248,7 +1245,6 @@ i[34567]86-*-rtems*|i[34567]86-*-rtemself*) fi ;; i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5 - xm_file="${xm_file} i386/xm-sco5.h" xm_defines=USG xmake_file=i386/x-sco5 install_headers_dir=install-headers-cpio @@ -1264,7 +1260,6 @@ i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5 extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o" ;; i[34567]86-*-sco3.2v4*) # 80386 running SCO 3.2v4 system - xm_file="${xm_file} i386/xm-sco.h" xm_defines="USG BROKEN_LDEXP SMALL_ARG_MAX" xmake_file=i386/x-sco4 install_headers_dir=install-headers-cpio @@ -1285,7 +1280,6 @@ i[34567]86-*-sco3.2v4*) # 80386 running SCO 3.2v4 system # truncate_target=yes ;; i[34567]86-*-sco*) # 80386 running SCO system - xm_file=i386/xm-sco.h xmake_file=i386/x-sco install_headers_dir=install-headers-cpio if test x$stabs = xyes @@ -1757,7 +1751,6 @@ m68k-ncr-sysv*) # NCR Tower 32 SVR3 ;; m68k-plexus-sysv*) tm_file=m68k/plexus.h - xm_file="m68k/xm-plexus.h ${xm_file}" xm_defines=USG use_collect2=yes extra_headers=math-68881.h @@ -1873,7 +1866,6 @@ m68k-sony-bsd* | m68k-sony-newsos*) ;; m68k-next-nextstep2*) tm_file=m68k/next21.h - xm_file="m68k/xm-next.h ${xm_file}" tmake_file=m68k/t-next xmake_file=m68k/x-next extra_objs=nextstep.o @@ -1883,7 +1875,6 @@ m68k-next-nextstep2*) ;; m68k-next-nextstep[34]*) tm_file=m68k/next.h - xm_file="m68k/xm-next.h ${xm_file}" tmake_file=m68k/t-next xmake_file=m68k/x-next extra_objs=nextstep.o diff --git a/gcc/config/i386/xm-beos.h b/gcc/config/i386/xm-beos.h deleted file mode 100644 index d37c493349b..00000000000 --- a/gcc/config/i386/xm-beos.h +++ /dev/null @@ -1,48 +0,0 @@ -/* Configuration for GNU C-compiler for BeOS host. - Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. - Contributed by Fred Fish (fnf@cygnus.com), based on xm-rs6000.h - by Richard Kenner (kenner@vlsi1.ultra.nyu.edu). - -This file is part of GNU CC. - -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, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* Include to define the exit status access macros. */ -#ifndef inhibit_libc -#include -#endif - -/* use ANSI/SYSV style byte manipulation routines instead of BSD ones */ - -#undef bcopy -#define bcopy(s,d,n) memmove((d),(s),(n)) - -/* Define various things that the BeOS host has. */ - -#ifndef HAVE_VPRINTF -#define HAVE_VPRINTF -#endif -#ifndef HAVE_PUTENV -#define HAVE_PUTENV -#endif -#define HAVE_RENAME - -/* This is a temporary hack until the wimpy default 64k stack - limit in BeOS is either increased or made user settable somehow. - This probably won't happen until after the DR9 release. */ -#undef USE_C_ALLOCA -#define USE_C_ALLOCA 1 - diff --git a/gcc/config/i386/xm-djgpp.h b/gcc/config/i386/xm-djgpp.h index 52124683ffa..9a711fd146c 100644 --- a/gcc/config/i386/xm-djgpp.h +++ b/gcc/config/i386/xm-djgpp.h @@ -18,8 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define __MSDOS__ 1 - /* Use semicolons to separate elements of a path. */ #define PATH_SEPARATOR ';' diff --git a/gcc/config/i386/xm-isc.h b/gcc/config/i386/xm-isc.h deleted file mode 100644 index e686c5ec9d4..00000000000 --- a/gcc/config/i386/xm-isc.h +++ /dev/null @@ -1,4 +0,0 @@ -#ifndef REAL_ARITHMETIC -#define REAL_VALUE_ATOF(x, mode) strtod ((x), (char **)0) -extern double strtod (); -#endif diff --git a/gcc/config/i386/xm-next.h b/gcc/config/i386/xm-next.h deleted file mode 100644 index e0b53f2e04f..00000000000 --- a/gcc/config/i386/xm-next.h +++ /dev/null @@ -1,3 +0,0 @@ -/* malloc does better with chunks the size of a page. */ - -#define OBSTACK_CHUNK_SIZE (getpagesize ()) diff --git a/gcc/config/i386/xm-sco.h b/gcc/config/i386/xm-sco.h deleted file mode 100644 index 36d65e569c3..00000000000 --- a/gcc/config/i386/xm-sco.h +++ /dev/null @@ -1,5 +0,0 @@ -/* Configuration for GCC for Intel i386 running SCO. */ - -/* Big buffers improve performance. */ - -#define IO_BUFFER_SIZE (0x8000 - 1024) diff --git a/gcc/config/i386/xm-sco5.h b/gcc/config/i386/xm-sco5.h deleted file mode 100644 index 36d65e569c3..00000000000 --- a/gcc/config/i386/xm-sco5.h +++ /dev/null @@ -1,5 +0,0 @@ -/* Configuration for GCC for Intel i386 running SCO. */ - -/* Big buffers improve performance. */ - -#define IO_BUFFER_SIZE (0x8000 - 1024) diff --git a/gcc/config/m68k/xm-next.h b/gcc/config/m68k/xm-next.h deleted file mode 100644 index e0b53f2e04f..00000000000 --- a/gcc/config/m68k/xm-next.h +++ /dev/null @@ -1,3 +0,0 @@ -/* malloc does better with chunks the size of a page. */ - -#define OBSTACK_CHUNK_SIZE (getpagesize ()) diff --git a/gcc/config/m68k/xm-plexus.h b/gcc/config/m68k/xm-plexus.h deleted file mode 100644 index 8498198ffe7..00000000000 --- a/gcc/config/m68k/xm-plexus.h +++ /dev/null @@ -1,6 +0,0 @@ -/* Host environment for 68000's running System V. */ - -#ifndef _SIZE_T_ -typedef int size_t; -#define _SIZE_T_ -#endif diff --git a/gcc/config/m88k/xm-m88k.h b/gcc/config/m88k/xm-m88k.h deleted file mode 100644 index 83380dbc67f..00000000000 --- a/gcc/config/m88k/xm-m88k.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Configuration for GNU compiler. - Motorola m88100 in an 88open OCS/BCS environment. - Copyright (C) 1988, 1989, 1990, 1991, 1993, 1997, 2001 - Free Software Foundation, Inc. - -This file is part of GNU CC. - -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, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* For DG/UX, the best size is different. */ -#ifdef __DGUX__ -#define OBSTACK_CHUNK_SIZE (8192-16) -#endif diff --git a/gcc/config/romp/xm-romp.h b/gcc/config/romp/xm-romp.h index ec71dc898ae..1109e983f6b 100644 --- a/gcc/config/romp/xm-romp.h +++ b/gcc/config/romp/xm-romp.h @@ -18,9 +18,7 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* If compiled with hc, use the built-in memcpy. - These definitions assume hc version 2. */ +/* hc has a bug converting functions to pointers in arguments. */ #ifdef __HIGHC__ -#define bcopy(s,d,l) memcpy(d,s,l) #define FUNCTION_CONVERSION_BUG #endif diff --git a/gcc/config/rs6000/xm-beos.h b/gcc/config/rs6000/xm-beos.h index 35958c0404f..5e74af0a741 100644 --- a/gcc/config/rs6000/xm-beos.h +++ b/gcc/config/rs6000/xm-beos.h @@ -23,31 +23,8 @@ Boston, MA 02111-1307, USA. */ /* use ANSI/SYSV style byte manipulation routines instead of BSD ones */ -#undef bcopy -#define bcopy(s,d,n) memmove((d),(s),(n)) - -/* Define various things that the BeOS host has. */ - -#ifndef HAVE_VPRINTF -#define HAVE_VPRINTF -#endif -#ifndef HAVE_PUTENV -#define HAVE_PUTENV -#endif -#ifndef HAVE_RENAME -#define HAVE_RENAME -#endif - /* STANDARD_INCLUDE_DIR is the equivalent of "/usr/include" on UNIX. */ - #define STANDARD_INCLUDE_DIR "/boot/develop/headers/posix" /* SYSTEM_INCLUDE_DIR is the location for system specific, non-POSIX headers. */ - #define SYSTEM_INCLUDE_DIR "/boot/develop/headers/be" - -/* This is a temporary hack until the wimpy default 64k stack - limit in BeOS is either increased or made user settable somehow. - This probably won't happen until after the DR9 release. */ -#undef USE_C_ALLOCA -#define USE_C_ALLOCA 1 -- 2.30.2