Commit 3e326935 by Trevor Saunders Committed by Trevor Saunders

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.

From-SVN: r237665
parent 914b155c
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> 2016-06-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* MAINTAINERS (Write After Approval): Add myself. * MAINTAINERS (Write After Approval): Add myself.
......
...@@ -3762,8 +3762,6 @@ case "${target}" in ...@@ -3762,8 +3762,6 @@ case "${target}" in
arm-*-riscix*) arm-*-riscix*)
noconfigdirs="$noconfigdirs ld target-libgloss" noconfigdirs="$noconfigdirs ld target-libgloss"
;; ;;
avr-*-rtems*)
;;
avr-*-*) avr-*-*)
if test x${with_avrlibc} != xno; then if test x${with_avrlibc} != xno; then
noconfigdirs="$noconfigdirs target-newlib target-libgloss" noconfigdirs="$noconfigdirs target-newlib target-libgloss"
...@@ -6128,7 +6126,7 @@ target_elf=no ...@@ -6128,7 +6126,7 @@ target_elf=no
case $target in case $target in
*-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \ *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
*-msdosdjgpp* | *-vms* | *-wince* | *-*-pe* | \ *-msdosdjgpp* | *-vms* | *-wince* | *-*-pe* | \
alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux* | \ alpha*-dec-osf* | hppa[12]*-*-hpux* | \
nvptx-*-none) nvptx-*-none)
target_elf=no target_elf=no
;; ;;
......
...@@ -1098,8 +1098,6 @@ case "${target}" in ...@@ -1098,8 +1098,6 @@ case "${target}" in
arm-*-riscix*) arm-*-riscix*)
noconfigdirs="$noconfigdirs ld target-libgloss" noconfigdirs="$noconfigdirs ld target-libgloss"
;; ;;
avr-*-rtems*)
;;
avr-*-*) avr-*-*)
if test x${with_avrlibc} != xno; then if test x${with_avrlibc} != xno; then
noconfigdirs="$noconfigdirs target-newlib target-libgloss" noconfigdirs="$noconfigdirs target-newlib target-libgloss"
......
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> 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. * config-list.mk: Stop testing m32r-rtems.
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
......
...@@ -37,7 +37,7 @@ LIST = aarch64-elf aarch64-linux-gnu aarch64-rtems \ ...@@ -37,7 +37,7 @@ LIST = aarch64-elf aarch64-linux-gnu aarch64-rtems \
arc-linux-uclibcOPT-with-cpu=arc700 arceb-linux-uclibcOPT-with-cpu=arc700 \ arc-linux-uclibcOPT-with-cpu=arc700 arceb-linux-uclibcOPT-with-cpu=arc700 \
arm-wrs-vxworks arm-netbsdelf \ arm-wrs-vxworks arm-netbsdelf \
arm-linux-androideabi arm-uclinux_eabi arm-eabi arm-rtems \ 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 \ 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 \ c6x-elf c6x-uclinux cr16-elf cris-elf cris-linux crisv32-elf crisv32-linux \
epiphany-elf epiphany-elfOPT-with-stack-offset=16 fido-elf \ epiphany-elf epiphany-elfOPT-with-stack-offset=16 fido-elf \
......
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> 2015-11-11 Andrew MacLeod <amacleod@redhat.com>
* count-headers: Initial file. * count-headers: Initial file.
......
...@@ -203,7 +203,7 @@ reduce-headers ...@@ -203,7 +203,7 @@ reduce-headers
these targets. They are also known to the tool. When building targets it these targets. They are also known to the tool. When building targets it
will check those targets before the rest. will check those targets before the rest.
This coverage can be achieved by building config-list.mk with : 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 -b specifies the native bootstrapped build root directory
-t specifies a target build root directory that config-list.mk was run from -t specifies a target build root directory that config-list.mk was run from
......
...@@ -23,7 +23,6 @@ no_remove = [ "system.h", "coretypes.h", "config.h" , "bconfig.h", "backend.h" ] ...@@ -23,7 +23,6 @@ no_remove = [ "system.h", "coretypes.h", "config.h" , "bconfig.h", "backend.h" ]
target_priority = [ target_priority = [
"aarch64-linux-gnu", "aarch64-linux-gnu",
"arm-netbsdelf", "arm-netbsdelf",
"avr-rtems",
"c6x-elf", "c6x-elf",
"epiphany-elf", "epiphany-elf",
"hppa2.0-hpux10.1", "hppa2.0-hpux10.1",
......
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> 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.gcc: Remove m32r-rtems support.
* config/m32r/rtems.h: Remove. * config/m32r/rtems.h: Remove.
......
...@@ -236,8 +236,7 @@ md_file= ...@@ -236,8 +236,7 @@ md_file=
# Obsolete configurations. # Obsolete configurations.
case ${target} in case ${target} in
avr-*rtems* \ mep-* \
| mep-* \
) )
if test "x$enable_obsolete" != xyes; then if test "x$enable_obsolete" != xyes; then
echo "*** Configuration ${target} is obsolete." >&2 echo "*** Configuration ${target} is obsolete." >&2
...@@ -1114,13 +1113,6 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*) ...@@ -1114,13 +1113,6 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
esac esac
tm_file="${tm_file} arm/aout.h vxworks-dummy.h arm/arm.h" 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-*-*) avr-*-*)
tm_file="elfos.h avr/elf.h avr/avr-arch.h avr/avr.h avr/specs.h dbxelf.h avr/avr-stdint.h" 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 if test x${with_avrlibc} != xno; then
......
...@@ -41,11 +41,6 @@ ...@@ -41,11 +41,6 @@
#include "avrlibc.h" #include "avrlibc.h"
#endif #endif
#if defined (WITH_RTEMS)
#include "../rtems.h"
#include "rtems.h"
#endif
#define SPECFILE_DOC_URL \ #define SPECFILE_DOC_URL \
"https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html" "https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html"
...@@ -67,10 +62,6 @@ static const char header[] = ...@@ -67,10 +62,6 @@ static const char header[] =
"# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c\n" "# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c\n"
"# Generated from : ./gcc/config/gcc.c\n" "# Generated from : ./gcc/config/gcc.c\n"
"# ./gcc/config/avr/specs.h\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) #if defined (WITH_AVRLIBC)
"# ./gcc/config/avr/avrlibc.h\n" "# ./gcc/config/avr/avrlibc.h\n"
#endif #endif
......
/* 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)
# Multilibs for avr RTEMS targets.
# ATM, this is just a stub
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> 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. * config.host: Remove m32r-rtems support.
2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
......
...@@ -422,12 +422,6 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*) ...@@ -422,12 +422,6 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
extra_parts="$extra_parts crtfastmath.o" extra_parts="$extra_parts crtfastmath.o"
unwind_header=config/arm/unwind-arm.h 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-*-*) avr-*-*)
# Make HImode functions for AVR # Make HImode functions for AVR
tmake_file="${cpu_type}/t-avr t-fpbit" tmake_file="${cpu_type}/t-avr t-fpbit"
......
# RTEMS uses _exit from newlib
LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment