diff mbox

Rename target arm-rtemseabi to arm-rtems

Message ID 5074253B.70206@embedded-brains.de
State New
Headers show

Commit Message

Sebastian Huber Oct. 9, 2012, 1:23 p.m. UTC
Updated patch.

Comments

Richard Earnshaw Oct. 9, 2012, 1:34 p.m. UTC | #1
On 09/10/12 14:23, Sebastian Huber wrote:
> Updated patch.
>
>
OK.

R.

> 0001-Rename-target-arm-rtemseabi-to-arm-rtems.patch
>
>
>  From b338cd309306c1540b2519188e83f76950755cc5 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
>
> 2012-10-09  Sebastian Huber <sebastian.huber@embedded-brains.de>
>
> 	* config.gcc
> 	(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
> 	"arm*-*-rtemseabi*" to "arm*-*-rtems*".
>
> 2012-10-09  Sebastian Huber <sebastian.huber@embedded-brains.de>
>
> 	* config.host
> 	(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
> 	"arm*-*-rtemseabi*" to "arm*-*-rtems*".
> ---
>   gcc/config.gcc     |    5 ++---
>   libgcc/config.host |    8 ++------
>   2 files changed, 4 insertions(+), 9 deletions(-)
>
> diff --git a/gcc/config.gcc b/gcc/config.gcc
> index d6c8153..014b837 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,7 +871,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"
>   	  ;;
> 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"
>
diff mbox

Patch

From b338cd309306c1540b2519188e83f76950755cc5 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

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

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

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

	* config.host
	(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
	"arm*-*-rtemseabi*" to "arm*-*-rtems*".
---
 gcc/config.gcc     |    5 ++---
 libgcc/config.host |    8 ++------
 2 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index d6c8153..014b837 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,7 +871,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"
 	  ;;
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.7.7