aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config.gcc10
-rw-r--r--gcc/config/avr/gen-avr-mmcu-specs.c9
-rw-r--r--gcc/config/avr/rtems.h27
-rw-r--r--gcc/config/avr/t-rtems3
5 files changed, 8 insertions, 48 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 846f949..7c2eed2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,12 @@
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+ * config.gcc: Remove support for avr-rtems.
+ * config/avr/gen-avr-mmcu-specs.c: Likewise.
+ * config/avr/rtems.h: Remove.
+ * config/avr/t-rtems: Remove.
+
+2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
* config.gcc: Remove m32r-rtems support.
* config/m32r/rtems.h: Remove.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index c189f59..612a333 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -236,8 +236,7 @@ md_file=
# Obsolete configurations.
case ${target} in
- avr-*rtems* \
- | mep-* \
+ mep-* \
)
if test "x$enable_obsolete" != xyes; then
echo "*** Configuration ${target} is obsolete." >&2
@@ -1114,13 +1113,6 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
esac
tm_file="${tm_file} arm/aout.h vxworks-dummy.h arm/arm.h"
;;
-avr-*-rtems*)
- tm_file="elfos.h avr/elf.h avr/avr-arch.h avr/avr.h avr/specs.h dbxelf.h avr/rtems.h rtems.h newlib-stdint.h"
- tm_defines="${tm_defines} WITH_RTEMS"
- tmake_file="${tmake_file} avr/t-avr avr/t-multilib avr/t-rtems"
- extra_gcc_objs="driver-avr.o avr-devices.o"
- extra_objs="avr-devices.o avr-log.o"
- ;;
avr-*-*)
tm_file="elfos.h avr/elf.h avr/avr-arch.h avr/avr.h avr/specs.h dbxelf.h avr/avr-stdint.h"
if test x${with_avrlibc} != xno; then
diff --git a/gcc/config/avr/gen-avr-mmcu-specs.c b/gcc/config/avr/gen-avr-mmcu-specs.c
index fabe8c2..7fca756 100644
--- a/gcc/config/avr/gen-avr-mmcu-specs.c
+++ b/gcc/config/avr/gen-avr-mmcu-specs.c
@@ -41,11 +41,6 @@
#include "avrlibc.h"
#endif
-#if defined (WITH_RTEMS)
-#include "../rtems.h"
-#include "rtems.h"
-#endif
-
#define SPECFILE_DOC_URL \
"https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html"
@@ -67,10 +62,6 @@ static const char header[] =
"# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c\n"
"# Generated from : ./gcc/config/gcc.c\n"
"# ./gcc/config/avr/specs.h\n"
-#if defined (WITH_RTEMS)
- "# ./gcc/config/rtems.h\n"
- "# ./gcc/config/avr/rtems.h\n"
-#endif
#if defined (WITH_AVRLIBC)
"# ./gcc/config/avr/avrlibc.h\n"
#endif
diff --git a/gcc/config/avr/rtems.h b/gcc/config/avr/rtems.h
deleted file mode 100644
index 73cdfd0..0000000
--- a/gcc/config/avr/rtems.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/* Definitions for rtems targeting a AVR using ELF.
- Copyright (C) 2004-2016 Free Software Foundation, Inc.
- Contributed by Ralf Corsepius (ralf.corsepius@rtems.org).
-
-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/>. */
-
-/* Specify predefined symbols in preprocessor. */
-
-#define TARGET_OS_CPP_BUILTINS() \
-do { \
- builtin_define ("__rtems__"); \
- builtin_assert ("system=rtems"); \
-} while (0)
diff --git a/gcc/config/avr/t-rtems b/gcc/config/avr/t-rtems
deleted file mode 100644
index a3ef8bd..0000000
--- a/gcc/config/avr/t-rtems
+++ /dev/null
@@ -1,3 +0,0 @@
-# Multilibs for avr RTEMS targets.
-
-# ATM, this is just a stub