This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Delete xm-iq2000.h
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 13 Aug 2003 21:15:24 -0700
- Subject: Delete xm-iq2000.h
The recently contributed iq2000 port contains an xm-file which is
completely unnecessary.
I would like to take the opportunity to remind people contributing new
ports to make sure they work. iq2000 uses poisoned target macros, and
is unknown to config.sub. I understand that new ports will not always
be 100% state of the art, but I don't think it's too much to ask that
they _compile_.
I would also like to remind everyone that the xm-host.h facility
should only be used if there is no other choice. It remains my
long-term goal to eliminate this facility entirely.
zw
* config.gcc (iq2000*-*-elf*): Don't set xm_file.
* config/iq2000/xm-iq2000.h: Delete file.
===================================================================
Index: config.gcc
--- config.gcc 8 Aug 2003 21:13:37 -0000 1.341
+++ config.gcc 14 Aug 2003 04:14:54 -0000
@@ -1300,7 +1300,6 @@ iq2000*-*-elf*)
tm_file="iq2000/iq2000.h"
tmake_file=iq2000/t-iq2000
out_file=iq2000/iq2000.c
- xm_file=iq2000/xm-iq2000.h
md_file=iq2000/iq2000.md
;;
m32r-*-elf*)
Index: config/iq2000/xm-iq2000.h
===================================================================
RCS file: config/iq2000/xm-iq2000.h
diff -N config/iq2000/xm-iq2000.h
--- config/iq2000/xm-iq2000.h 8 Aug 2003 11:30:25 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,35 +0,0 @@
-/* Configuration for IQ based processors
- Copyright (C) 2003 Free Software Foundation, Inc.
- Contributed by Red Hat 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. */
-
-/* #defines that need visibility everywhere. */
-#define FALSE 0
-#define TRUE 1
-
-/* 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