From 3e326935011594f55f1739ec3de3dd94d9d54380 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Tue, 21 Jun 2016 21:57:44 +0000 Subject: [PATCH] remove avr-rtems support contrib/ChangeLog: 2016-06-21 Trevor Saunders * config-list.mk: Stop testing avr-rtems. libgcc/ChangeLog: 2016-06-21 Trevor Saunders * config.host: Remove support for avr-rtems. * config/avr/t-rtems: Remove. ChangeLog: 2016-06-21 Trevor Saunders * configure: Regenerate. * configure.ac: Remove support for avr-rtems. gcc/ChangeLog: 2016-06-21 Trevor Saunders * 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 * README: Remove references to avr-rtems. * reduce-headers: Likewise. From-SVN: r237665 --- ChangeLog | 5 +++++ configure | 4 +--- configure.ac | 2 -- contrib/ChangeLog | 4 ++++ contrib/config-list.mk | 2 +- contrib/header-tools/ChangeLog | 5 +++++ contrib/header-tools/README | 2 +- contrib/header-tools/reduce-headers | 1 - gcc/ChangeLog | 7 +++++++ gcc/config.gcc | 10 +--------- gcc/config/avr/gen-avr-mmcu-specs.c | 9 --------- gcc/config/avr/rtems.h | 27 --------------------------- gcc/config/avr/t-rtems | 3 --- libgcc/ChangeLog | 5 +++++ libgcc/config.host | 6 ------ libgcc/config/avr/t-rtems | 2 -- 16 files changed, 30 insertions(+), 64 deletions(-) delete mode 100644 gcc/config/avr/rtems.h delete mode 100644 gcc/config/avr/t-rtems delete mode 100644 libgcc/config/avr/t-rtems diff --git a/ChangeLog b/ChangeLog index e9eb4d5..193f0fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-06-21 Trevor Saunders + + * configure: Regenerate. + * configure.ac: Remove support for avr-rtems. + 2016-06-18 Senthil Kumar Selvaraj * MAINTAINERS (Write After Approval): Add myself. diff --git a/configure b/configure index ea63784..04cb999 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 54558df..4031ac6 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 feb5f17..faebe41 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,5 +1,9 @@ 2016-06-21 Trevor Saunders + * config-list.mk: Stop testing avr-rtems. + +2016-06-21 Trevor Saunders + * config-list.mk: Stop testing m32r-rtems. 2016-06-21 Trevor Saunders diff --git a/contrib/config-list.mk b/contrib/config-list.mk index cdb89dd..fb6e475 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 9baeaa6..bf89e6c 100644 --- a/contrib/header-tools/ChangeLog +++ b/contrib/header-tools/ChangeLog @@ -1,3 +1,8 @@ +2016-06-21 Trevor Saunders + + * README: Remove references to avr-rtems. + * reduce-headers: Likewise. + 2015-11-11 Andrew MacLeod * count-headers: Initial file. diff --git a/contrib/header-tools/README b/contrib/header-tools/README index 05d3b97..3b20e51 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 e4f4d7b..26a7df9 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 846f949..7c2eed2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ 2016-06-21 Trevor Saunders + * 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 + * 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 -. */ - -/* 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 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 0787970..87fdaef 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,5 +1,10 @@ 2016-06-21 Trevor Saunders + * config.host: Remove support for avr-rtems. + * config/avr/t-rtems: Remove. + +2016-06-21 Trevor Saunders + * config.host: Remove m32r-rtems support. 2016-06-21 Trevor Saunders diff --git a/libgcc/config.host b/libgcc/config.host index 3f8d0a8..80b81d2 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 43b57ee..0000000 --- a/libgcc/config/avr/t-rtems +++ /dev/null @@ -1,2 +0,0 @@ -# RTEMS uses _exit from newlib -LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS)) -- 2.7.4