aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2016-06-21 21:57:44 +0000
committerTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2016-06-21 21:57:44 +0000
commitcc38100c9a118da130fe56794d21990ad66ae4f3 (patch)
tree0f42e9aa708552c72f9c5c2d3b7fa66f32dd105f
parente5a00b503846e9980c778ffc1c272dddaa145f01 (diff)
remove avr-rtems support
contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: Stop testing avr-rtems. libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove support for avr-rtems. * config/avr/t-rtems: Remove. ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * configure: Regenerate. * configure.ac: Remove support for avr-rtems. gcc/ChangeLog: 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. contrib/header-tools/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * README: Remove references to avr-rtems. * reduce-headers: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@237665 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac2
-rw-r--r--contrib/ChangeLog4
-rw-r--r--contrib/config-list.mk2
-rw-r--r--contrib/header-tools/ChangeLog5
-rw-r--r--contrib/header-tools/README2
-rwxr-xr-xcontrib/header-tools/reduce-headers1
-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
-rw-r--r--libgcc/ChangeLog5
-rw-r--r--libgcc/config.host6
-rw-r--r--libgcc/config/avr/t-rtems2
16 files changed, 30 insertions, 64 deletions
diff --git a/ChangeLog b/ChangeLog
index e9eb4d57dfc..193f0fbd152 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
+ * configure: Regenerate.
+ * configure.ac: Remove support for avr-rtems.
+
2016-06-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* MAINTAINERS (Write After Approval): Add myself.
diff --git a/configure b/configure
index ea63784be9c..04cb99901e0 100755
--- a/configure
+++ b/configure
@@ -3762,8 +3762,6 @@ case "${target}" in
arm-*-riscix*)
noconfigdirs="$noconfigdirs ld target-libgloss"
;;
- avr-*-rtems*)
- ;;
avr-*-*)
if test x${with_avrlibc} != xno; then
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
@@ -6128,7 +6126,7 @@ target_elf=no
case $target in
*-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
*-msdosdjgpp* | *-vms* | *-wince* | *-*-pe* | \
- alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux* | \
+ alpha*-dec-osf* | hppa[12]*-*-hpux* | \
nvptx-*-none)
target_elf=no
;;
diff --git a/configure.ac b/configure.ac
index 54558df98ab..4031ac6e475 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1098,8 +1098,6 @@ case "${target}" in
arm-*-riscix*)
noconfigdirs="$noconfigdirs ld target-libgloss"
;;
- avr-*-rtems*)
- ;;
avr-*-*)
if test x${with_avrlibc} != xno; then
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index feb5f173f06..faebe41c853 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,5 +1,9 @@
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+ * config-list.mk: Stop testing avr-rtems.
+
+2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
* config-list.mk: Stop testing m32r-rtems.
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
diff --git a/contrib/config-list.mk b/contrib/config-list.mk
index cdb89ddf424..fb6e4756bcf 100644
--- a/contrib/config-list.mk
+++ b/contrib/config-list.mk
@@ -37,7 +37,7 @@ LIST = aarch64-elf aarch64-linux-gnu aarch64-rtems \
arc-linux-uclibcOPT-with-cpu=arc700 arceb-linux-uclibcOPT-with-cpu=arc700 \
arm-wrs-vxworks arm-netbsdelf \
arm-linux-androideabi arm-uclinux_eabi arm-eabi arm-rtems \
- arm-symbianelf avr-rtemsOPT-enable-obsolete avr-elf \
+ arm-symbianelf avr-elf \
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 \
diff --git a/contrib/header-tools/ChangeLog b/contrib/header-tools/ChangeLog
index 9baeaa6548d..bf89e6c2da9 100644
--- a/contrib/header-tools/ChangeLog
+++ b/contrib/header-tools/ChangeLog
@@ -1,3 +1,8 @@
+2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
+ * README: Remove references to avr-rtems.
+ * reduce-headers: Likewise.
+
2015-11-11 Andrew MacLeod <amacleod@redhat.com>
* count-headers: Initial file.
diff --git a/contrib/header-tools/README b/contrib/header-tools/README
index 05d3b97f62a..3b20e515da1 100644
--- a/contrib/header-tools/README
+++ b/contrib/header-tools/README
@@ -203,7 +203,7 @@ reduce-headers
these targets. They are also known to the tool. When building targets it
will check those targets before the rest.
This coverage can be achieved by building config-list.mk with :
- LIST="aarch64-linux-gnu arm-netbsdelf avr-rtems c6x-elf epiphany-elf hppa2.0-hpux10.1 i686-mingw32crt i686-pc-msdosdjgpp mipsel-elf powerpc-eabisimaltivec rs6000-ibm-aix5.1.0 sh-superh-elf sparc64-elf spu-elf"
+ LIST="aarch64-linux-gnu arm-netbsdelf c6x-elf epiphany-elf hppa2.0-hpux10.1 i686-mingw32crt i686-pc-msdosdjgpp mipsel-elf powerpc-eabisimaltivec rs6000-ibm-aix5.1.0 sh-superh-elf sparc64-elf spu-elf"
-b specifies the native bootstrapped build root directory
-t specifies a target build root directory that config-list.mk was run from
diff --git a/contrib/header-tools/reduce-headers b/contrib/header-tools/reduce-headers
index e4f4d7b123d..26a7df9dc6c 100755
--- a/contrib/header-tools/reduce-headers
+++ b/contrib/header-tools/reduce-headers
@@ -23,7 +23,6 @@ no_remove = [ "system.h", "coretypes.h", "config.h" , "bconfig.h", "backend.h" ]
target_priority = [
"aarch64-linux-gnu",
"arm-netbsdelf",
- "avr-rtems",
"c6x-elf",
"epiphany-elf",
"hppa2.0-hpux10.1",
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 846f9493dc1..7c2eed2adf5 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 c189f59f9d8..612a333791f 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 fabe8c2c59b..7fca756ae62 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 73cdfd0a6cc..00000000000
--- 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 a3ef8bd805d..00000000000
--- a/gcc/config/avr/t-rtems
+++ /dev/null
@@ -1,3 +0,0 @@
-# Multilibs for avr RTEMS targets.
-
-# ATM, this is just a stub
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 0787970adbb..87fdaef8c27 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,5 +1,10 @@
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+ * config.host: Remove support for avr-rtems.
+ * config/avr/t-rtems: Remove.
+
+2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
* config.host: Remove m32r-rtems support.
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
diff --git a/libgcc/config.host b/libgcc/config.host
index 3f8d0a84bec..80b81d23682 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -422,12 +422,6 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
extra_parts="$extra_parts crtfastmath.o"
unwind_header=config/arm/unwind-arm.h
;;
-avr-*-rtems*)
- tmake_file="$tmake_file avr/t-avr avr/t-rtems t-fpbit"
- tm_file="$tm_file avr/avr-lib.h"
- # Don't use default.
- extra_parts=
- ;;
avr-*-*)
# Make HImode functions for AVR
tmake_file="${cpu_type}/t-avr t-fpbit"
diff --git a/libgcc/config/avr/t-rtems b/libgcc/config/avr/t-rtems
deleted file mode 100644
index 43b57ee323d..00000000000
--- a/libgcc/config/avr/t-rtems
+++ /dev/null
@@ -1,2 +0,0 @@
-# RTEMS uses _exit from newlib
-LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS))