Patchwork Rename target arm-rtemseabi to arm-rtems

login
register
mail settings
Submitter Sebastian Huber
Date Oct. 9, 2012, 9:08 a.m.
Message ID <5073E988.2070109@embedded-brains.de>
Download mbox | patch
Permalink /patch/190244/
State New
Headers show

Comments

Sebastian Huber - Oct. 9, 2012, 9:08 a.m.
Hello,

this is an updated patch for the GCC 4.8.  It renames the target 
"arm-rtemseabi" to "arm-rtems" to bring the ARM tool chain back to the standard 
RTEMS target pattern "$ARCH-rtems".

GCC test suite results for arm-rtems4.11:

http://gcc.gnu.org/ml/gcc-testresults/2012-09/msg02507.html
Sebastian Huber - Oct. 9, 2012, 9:13 a.m.
On 10/09/2012 11:08 AM, Sebastian Huber wrote:
> Hello,
>
> this is an updated patch for the GCC 4.8.  It renames the target
> "arm-rtemseabi" to "arm-rtems" to bring the ARM tool chain back to the standard
> RTEMS target pattern "$ARCH-rtems".
>
> GCC test suite results for arm-rtems4.11:
>
> http://gcc.gnu.org/ml/gcc-testresults/2012-09/msg02507.html
>

Sorry, change log was missing:

2012-09-25  Sebastian Huber <sebastian.huber@embedded-brains.de>

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

2012-09-25  Sebastian Huber <sebastian.huber@embedded-brains.de>

	* config.host
	(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
	"arm*-*-rtemseabi*" to "arm*-*-rtems*".
Richard Earnshaw - Oct. 9, 2012, 12:52 p.m.
On 09/10/12 10:13, Sebastian Huber wrote:
> On 10/09/2012 11:08 AM, Sebastian Huber wrote:
>> Hello,
>>
>> this is an updated patch for the GCC 4.8.  It renames the target
>> "arm-rtemseabi" to "arm-rtems" to bring the ARM tool chain back to the standard
>> RTEMS target pattern "$ARCH-rtems".
>>
>> GCC test suite results for arm-rtems4.11:
>>
>> http://gcc.gnu.org/ml/gcc-testresults/2012-09/msg02507.html
>>
>
> Sorry, change log was missing:
>
> 2012-09-25  Sebastian Huber <sebastian.huber@embedded-brains.de>
>
> 	* config.gcc
> 	(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
> 	"arm*-*-rtemseabi*" to "arm*-*-rtems*".
>
> 2012-09-25  Sebastian Huber <sebastian.huber@embedded-brains.de>
>
> 	* config.host
> 	(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
> 	"arm*-*-rtemseabi*" to "arm*-*-rtems*".
>

+	  use_gcc_stdint=provide

This isn't mentioned in your changelogs and appears to be orthogonal to 
the rest of the patch.  Please separate this out and re-submit separately.

OK with that change.

R.

Patch

From d3688bd82c85e0c3bb9302e1235a168e4207cbd1 Mon Sep 17 00:00:00 2001
From: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date: Mon, 24 Sep 2012 17:49:36 +0200
Subject: [PATCH] Rename target arm-rtemseabi to arm-rtems

---
 gcc/config.gcc     |    6 +++---
 libgcc/config.host |    8 ++------
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index d6c8153..2400b3c 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -270,7 +270,6 @@  case ${target} in
  | arm*-*-elf				\
  | arm*-*-freebsd*			\
  | arm*-*-linux*			\
- | arm*-*-rtems*			\
  | arm*-*-uclinux*			\
  | i[34567]86-go32-*			\
  | i[34567]86-*-go32*			\
@@ -858,7 +857,7 @@  arm*-*-uclinux*eabi*)		# ARM ucLinux
 	# The EABI requires the use of __cxa_atexit.
 	default_use_cxa_atexit=yes
 	;;
-arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*)
+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.
@@ -872,9 +871,10 @@  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"
+	  use_gcc_stdint=provide
 	  ;;
 	arm*-*-symbianelf*)
 	  tm_file="${tm_file} arm/symbian.h"
diff --git a/libgcc/config.host b/libgcc/config.host
index 3689024..a93e0de 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -343,11 +343,11 @@  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*-*-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"
 	  ;;
@@ -360,10 +360,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"
-- 
1.6.4.2