Patchwork ARM RTEMS changes for GCC 4.7

login
register
mail settings
Submitter Sebastian Huber
Date Feb. 22, 2013, 3:41 p.m.
Message ID <1361547697-18072-1-git-send-email-sebastian.huber@embedded-brains.de>
Download mbox | patch
Permalink /patch/222550/
State New
Headers show

Comments

Sebastian Huber - Feb. 22, 2013, 3:41 p.m.
Testsuite results:

http://gcc.gnu.org/ml/gcc-testresults/2013-02/msg02508.html

2013-02-22  Sebastian Huber <sebastian.huber@embedded-brains.de>

        * config.gcc (arm*-*-rtemself*): New.
        (arm*-*-rtems*): Removed.
        (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
        "arm*-*-rtemseabi*" to "arm*-*-rtems*".

2013-02-22  Sebastian Huber <sebastian.huber@embedded-brains.de>

        * config.host (arm*-*-rtemself*): New.
        (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
        "arm*-*-rtemseabi*" to "arm*-*-rtems*".
---
 gcc/config.gcc     |   14 +++++++-------
 libgcc/config.host |   12 ++++++------
 2 files changed, 13 insertions(+), 13 deletions(-)
Richard Earnshaw - Feb. 22, 2013, 4:09 p.m.
On 22/02/13 15:41, Sebastian Huber wrote:
> Testsuite results:
>
> http://gcc.gnu.org/ml/gcc-testresults/2013-02/msg02508.html
>
> 2013-02-22  Sebastian Huber <sebastian.huber@embedded-brains.de>
>
>          * config.gcc (arm*-*-rtemself*): New.
>          (arm*-*-rtems*): Removed.
>          (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
>          "arm*-*-rtemseabi*" to "arm*-*-rtems*".
>
> 2013-02-22  Sebastian Huber <sebastian.huber@embedded-brains.de>
>
>          * config.host (arm*-*-rtemself*): New.
>          (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
>          "arm*-*-rtemseabi*" to "arm*-*-rtems*".

I have no objections to this if the release managers agree.

R.

Patch

diff --git a/gcc/config.gcc b/gcc/config.gcc
index a188133..3ca322d 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -257,7 +257,7 @@  case ${target} in
  | arm*-*-elf				\
  | arm*-*-freebsd*			\
  | arm*-*-linux*			\
- | arm*-*-rtems*			\
+ | arm*-*-rtemself*			\
  | arm*-*-uclinux*			\
  | arm*-wince-pe*			\
  | mips-sgi-irix6.5			\
@@ -899,7 +899,11 @@  arm*-*-ecos-elf)
 	tm_file="dbxelf.h elfos.h newlib-stdint.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/ecos-elf.h"
 	tmake_file="arm/t-arm arm/t-arm-elf"
 	;;
-arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*)
+arm*-*-rtemself*)
+	tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/rtems-elf.h rtems.h newlib-stdint.h"
+	tmake_file="arm/t-arm arm/t-arm-elf t-rtems arm/t-rtems"
+	;;
+arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
 	# The BPABI long long divmod functions return a 128-bit value in
 	# registers r0-r3.  Correctly modeling that requires the use of
 	# TImode.
@@ -913,7 +917,7 @@  arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*)
 	  tmake_file="${tmake_file} arm/t-bpabi"
 	  use_gcc_stdint=wrap
 	  ;;
-	arm*-*-rtemseabi*)
+	arm*-*-rtems*)
 	  tm_file="${tm_file} rtems.h arm/rtems-eabi.h newlib-stdint.h"
 	  tmake_file="${tmake_file} arm/t-bpabi t-rtems arm/t-rtems-eabi"
 	  ;;
@@ -926,10 +930,6 @@  arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*)
 	esac
 	tm_file="${tm_file} arm/aout.h arm/arm.h"
 	;;
-arm*-*-rtems*)
-	tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/rtems-elf.h rtems.h newlib-stdint.h"
-	tmake_file="arm/t-arm arm/t-arm-elf t-rtems arm/t-rtems"
-	;;
 arm*-*-elf)
 	tm_file="dbxelf.h elfos.h newlib-stdint.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
 	tmake_file="arm/t-arm arm/t-arm-elf"
diff --git a/libgcc/config.host b/libgcc/config.host
index 51aec66..66b4724 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -354,11 +354,15 @@  arm*-*-ecos-elf)
 	tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
 	extra_parts="$extra_parts crti.o crtn.o"
 	;;
-arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*)
+arm*-*-rtemself*)
+	tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
+	extra_parts="$extra_parts crti.o crtn.o"
+	;;
+arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
 	tmake_file="${tmake_file} arm/t-arm arm/t-elf t-fixedpoint-gnu-prefix"
 	tm_file="$tm_file arm/bpabi-lib.h"
 	case ${host} in
-	arm*-*-eabi* | arm*-*-rtemseabi*)
+	arm*-*-eabi* | arm*-*-rtems*)
 	  tmake_file="${tmake_file} arm/t-bpabi"
 	  extra_parts="crtbegin.o crtend.o crti.o crtn.o"
 	  ;;
@@ -371,10 +375,6 @@  arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*)
 	tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
 	unwind_header=config/arm/unwind-arm.h
 	;;
-arm*-*-rtems*)
-	tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
-	extra_parts="$extra_parts crti.o crtn.o"
-	;;
 arm*-*-elf)
 	tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
 	extra_parts="$extra_parts crti.o crtn.o"