diff mbox

[4/7] remove h8300-rtems support

Message ID 1466401666-8365-5-git-send-email-tbsaunde+gcc@tbsaunde.org
State New
Headers show

Commit Message

tbsaunde+gcc@tbsaunde.org June 20, 2016, 5:47 a.m. UTC
From: Trevor Saunders <tbsaunde+gcc@tbsaunde.org>

contrib/ChangeLog:

2016-06-20  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* config-list.mk: Remove h8300-rtems support.

libgcc/ChangeLog:

2016-06-20  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* config.host: Remove h8300-rtems support.

gcc/ChangeLog:

2016-06-20  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* config.gcc: Remove h8300-rtems support.
	* config/h8300/rtems.h: Remove.
	* config/h8300/t-rtems: Remove.
---
 contrib/config-list.mk   |  3 +--
 gcc/config.gcc           |  5 -----
 gcc/config/h8300/rtems.h | 29 -----------------------------
 gcc/config/h8300/t-rtems |  7 -------
 libgcc/config.host       |  5 -----
 5 files changed, 1 insertion(+), 48 deletions(-)
 delete mode 100644 gcc/config/h8300/rtems.h
 delete mode 100644 gcc/config/h8300/t-rtems
diff mbox

Patch

diff --git a/contrib/config-list.mk b/contrib/config-list.mk
index 2fe90bb..5ea6d6c 100644
--- a/contrib/config-list.mk
+++ b/contrib/config-list.mk
@@ -41,8 +41,7 @@  LIST = aarch64-elf aarch64-linux-gnu aarch64-rtems \
   bfin-elf bfin-uclinux bfin-linux-uclibc bfin-rtems bfin-openbsd \
   c6x-elf c6x-uclinux cr16-elf cris-elf cris-linux crisv32-elf crisv32-linux \
   epiphany-elf epiphany-elfOPT-with-stack-offset=16 fido-elf \
-  fr30-elf frv-elf frv-linux ft32-elf h8300-elf \
-  h8300-rtemsOPT-enable-obsolete hppa-linux-gnu \
+  fr30-elf frv-elf frv-linux ft32-elf h8300-elf hppa-linux-gnu \
   hppa-linux-gnuOPT-enable-sjlj-exceptions=yes hppa64-linux-gnu \
   hppa2.0-hpux10.1 hppa64-hpux11.3 \
   hppa64-hpux11.0OPT-enable-sjlj-exceptions=yes hppa2.0-hpux11.9 \
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 669cb9f..cb2923e 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -237,7 +237,6 @@  md_file=
 # Obsolete configurations.
 case ${target} in
  avr-*rtems*				\
- | h8300-*rtems*			\
  | m32r-*rtems*			\
  | mep-*				\
  )
@@ -1239,10 +1238,6 @@  moxie-*-moxiebox*)
 	tm_file="${tm_file} dbxelf.h elfos.h moxie/moxiebox.h newlib-stdint.h"
 	tmake_file="${tmake_file} moxie/t-moxiebox"
 	;;
-h8300-*-rtems*)
-	tmake_file="${tmake_file} h8300/t-h8300 h8300/t-rtems"
-	tm_file="h8300/h8300.h dbxelf.h elfos.h h8300/elf.h h8300/rtems.h rtems.h newlib-stdint.h"
-	;;
 h8300-*-elf*)
 	tmake_file="h8300/t-h8300"
 	tm_file="h8300/h8300.h dbxelf.h elfos.h newlib-stdint.h h8300/elf.h"
diff --git a/gcc/config/h8300/rtems.h b/gcc/config/h8300/rtems.h
deleted file mode 100644
index eb16f1d..0000000
--- a/gcc/config/h8300/rtems.h
+++ /dev/null
@@ -1,29 +0,0 @@ 
-/* Definitions for rtems targeting a H8
-   Copyright (C) 1996-2016 Free Software Foundation, Inc.
-   Contributed by Joel Sherrill (joel@OARcorp.com).
-
-This file is part of GCC.
-
-GCC 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 3, or (at your option)
-any later version.
-
-GCC 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 GCC; see the file COPYING3.  If not see
-<http://www.gnu.org/licenses/>.  */
-
-/* Target OS preprocessor built-ins.  */
-#define TARGET_OS_CPP_BUILTINS()		\
-  do						\
-    {						\
-      builtin_define_std ("h8300");		\
-      builtin_define ("__rtems__");		\
-      builtin_assert ("system=rtems");		\
-    }						\
-  while (0)
diff --git a/gcc/config/h8300/t-rtems b/gcc/config/h8300/t-rtems
deleted file mode 100644
index 0d76437..0000000
--- a/gcc/config/h8300/t-rtems
+++ /dev/null
@@ -1,7 +0,0 @@ 
-# Custom multilibs for RTEMS
-
-# -mn is not applicable to RTEMS (-mn implies 16bit void*)
-
-MULTILIB_OPTIONS = mh/ms/msx mint32
-MULTILIB_DIRNAMES = h8300h h8300s h8sx int32
-MULTILIB_EXCEPTIONS = mint32
diff --git a/libgcc/config.host b/libgcc/config.host
index 12b69cf..319810f 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -495,11 +495,6 @@  ft32-*-elf)
 	tmake_file="ft32/t-ft32 t-softfp-sfdf t-softfp-excl t-softfp"
 	extra_parts="$extra_parts crti.o crti-hw.o crtn.o"
 	;;
-h8300-*-rtems*)
-	tmake_file="$tmake_file h8300/t-h8300 t-fpbit"
-	tm_file="$tm_file h8300/h8300-lib.h"
-	extra_parts="$extra_parts crti.o crtn.o"
-	;;
 h8300-*-elf*)
 	tmake_file="$tmake_file h8300/t-h8300 t-fpbit"
 	tm_file="$tm_file h8300/h8300-lib.h"