From: Trevor Saunders <tbsaunde+...@tbsaunde.org>

libgcc/ChangeLog:

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

        * config.host: Remove m32r-rtems support.

gcc/ChangeLog:

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

        * config.gcc: Remove m32r-rtems support.
        * config/m32r/rtems.h: Remove.

contrib/ChangeLog:

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

        * config-list.mk: Stop testing m32r-rtems.
---
 contrib/config-list.mk  |  1 -
 gcc/config.gcc          |  5 -----
 gcc/config/m32r/rtems.h | 33 ---------------------------------
 libgcc/config.host      |  4 ----
 4 files changed, 43 deletions(-)
 delete mode 100644 gcc/config/m32r/rtems.h

diff --git a/contrib/config-list.mk b/contrib/config-list.mk
index 5ea6d6c..ca20c98 100644
--- a/contrib/config-list.mk
+++ b/contrib/config-list.mk
@@ -55,7 +55,6 @@ LIST = aarch64-elf aarch64-linux-gnu aarch64-rtems \
   i686-cygwinOPT-enable-threads=yes i686-mingw32crt ia64-elf \
   ia64-freebsd6 ia64-linux ia64-hpux ia64-hp-vms iq2000-elf lm32-elf \
   lm32-rtems lm32-uclinux m32c-rtems m32c-elf m32r-elf m32rle-elf \
-  m32r-rtemsOPT-enable-obsolete \
   m32r-linux m32rle-linux m68k-elf m68k-netbsdelf \
   m68k-openbsd m68k-uclinux m68k-linux m68k-rtems \
   mcore-elf mep-elfOPT-enable-obsolete microblaze-linux microblaze-elf \
diff --git a/gcc/config.gcc b/gcc/config.gcc
index cb2923e..c189f59 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -237,7 +237,6 @@ md_file=
 # Obsolete configurations.
 case ${target} in
  avr-*rtems*                           \
- | m32r-*rtems*                        \
  | mep-*                               \
  )
     if test "x$enable_obsolete" != xyes; then
@@ -1829,10 +1828,6 @@ m32r-*-elf*)
 m32rle-*-elf*)
        tm_file="dbxelf.h elfos.h newlib-stdint.h m32r/little.h ${tm_file}"
        ;;
-m32r-*-rtems*)
-       tm_file="dbxelf.h elfos.h ${tm_file} m32r/rtems.h rtems.h 
newlib-stdint.h"
-       tmake_file="${tmake_file} m32r/t-m32r"
-       ;;
 m32r-*-linux*)
        tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} 
m32r/linux.h"
        tmake_file="${tmake_file} m32r/t-linux t-slibgcc"
diff --git a/gcc/config/m32r/rtems.h b/gcc/config/m32r/rtems.h
deleted file mode 100644
index 839b4e0..0000000
--- a/gcc/config/m32r/rtems.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Definitions for rtems targeting a M32R using ELF.
-   Copyright (C) 2009-2016 Free Software Foundation, Inc.
-   Contributed by Joel Sherrill (j...@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 builtins.  */
-#undef TARGET_OS_CPP_BUILTINS
-#define TARGET_OS_CPP_BUILTINS()               \
-  do                                           \
-    {                                          \
-       builtin_define ("__rtems__");           \
-       builtin_define ("__USE_INIT_FINI__");   \
-       builtin_assert ("system=rtems");        \
-    }                                          \
-  while (0)
-
-/* Use the default */
-#undef LINK_GCC_C_SEQUENCE_SPEC
diff --git a/libgcc/config.host b/libgcc/config.host
index 319810f..3f8d0a8 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -790,10 +790,6 @@ lm32-*-uclinux*)
 m32r-*-elf*)
        tmake_file=t-fdpbit
        ;;
-m32r-*-rtems*)
-       tmake_file="$tmake_file m32r/t-m32r t-fdpbit"
-       extra_parts="$extra_parts crtinit.o crtfini.o"
-       ;;
 m32rle-*-elf*)
        tmake_file=t-fdpbit
        ;;
-- 
2.7.0

Reply via email to