remove avr-rtems support
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>
Tue, 21 Jun 2016 21:57:44 +0000 (21:57 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Tue, 21 Jun 2016 21:57:44 +0000 (21:57 +0000)
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.

From-SVN: r237665

16 files changed:
ChangeLog
configure
configure.ac
contrib/ChangeLog
contrib/config-list.mk
contrib/header-tools/ChangeLog
contrib/header-tools/README
contrib/header-tools/reduce-headers
gcc/ChangeLog
gcc/config.gcc
gcc/config/avr/gen-avr-mmcu-specs.c
gcc/config/avr/rtems.h [deleted file]
gcc/config/avr/t-rtems [deleted file]
libgcc/ChangeLog
libgcc/config.host
libgcc/config/avr/t-rtems [deleted file]

index e9eb4d57dfc3e7ec4daba44497ddc7c94b2963ba..193f0fbd152d30db5b755fa0dec9afef1c2edb96 100644 (file)
--- 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.
index ea63784be9c843500d4bd45016fa5d0fc5d6f1e4..04cb99901e08065a33f36cde76b5687fa7bb969a 100755 (executable)
--- 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
     ;;
index 54558df98ab1d622521809a5e45bb3f07fe49f29..4031ac6e475f37b60a01bd871fd07989900a3538 100644 (file)
@@ -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"
index feb5f173f06b7ed815960a134a164029c4e45337..faebe41c853956cc0e4fbb4d95daf70a5aa1052f 100644 (file)
@@ -1,3 +1,7 @@
+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.
index cdb89ddf424a64e71b5a90cbf985a267bbdc7ffa..fb6e4756bcf6b55343e569780a8573a45dd87d1a 100644 (file)
@@ -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 \
index 9baeaa6548d87065bb2345bb2658087156528b85..bf89e6c2da9e490a8483792f9b3a8605f6a2214b 100644 (file)
@@ -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.
index 05d3b97f62a10dd2f5321c8032d94f9bbb65c87a..3b20e515da1136ee6010ef8a73cba2f4fd03462b 100644 (file)
@@ -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
index e4f4d7b123dccaf9669e555870a6af89ddf85707..26a7df9dc6c728d756b05744f061135c8490081b 100755 (executable)
@@ -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",
index 846f9493dc1c4dcce77b6285dcd5ab238072cd2b..7c2eed2adf563b43786525720a2a8dfad780ce3e 100644 (file)
@@ -1,3 +1,10 @@
+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.
index c189f59f9d8898336e3d8bfd7a85eddbe09444d9..612a333791f929fa0d77987a32dfda6dfd38e8ad 100644 (file)
@@ -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
index fabe8c2c59b63da2cccc509613048bf4f94f110e..7fca756ae626c486ed1514d959f28f1264a78380 100644 (file)
 #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 (file)
index 73cdfd0..0000000
+++ /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 (file)
index a3ef8bd..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# Multilibs for avr RTEMS targets.
-
-# ATM, this is just a stub
index 0787970adbb3d3702211c0b239edd00b941f5290..87fdaef8c27378f5ecf79550e4c8dd6bb8d248b9 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 3f8d0a84bec7de195232572d00e17f5f52b02af0..80b81d23682663ab53992d8fb90f1e59f254b1a0 100644 (file)
@@ -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 (file)
index 43b57ee..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-# RTEMS uses _exit from newlib
-LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS))