[PATCH] RTEMS: Generalize t-rtems usage

Sebastian Huber sebastian.huber@embedded-brains.de
Tue Jan 7 09:35:00 GMT 2014


Hello Richard,

would you mind having a look at the ARM specific part of this patch:

On 01/06/2014 07:27 PM, Sebastian Huber wrote:
> 2014-01-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
>
> 	* config.gcc (*-*-rtems*): Add t-rtems to tmake_file.
> 	(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*): Do not
> 	override an existing tmake_file.
[...]
> ---
>   gcc/config.gcc | 35 +++++++++++++++++------------------
>   1 file changed, 17 insertions(+), 18 deletions(-)
>
> diff --git a/gcc/config.gcc b/gcc/config.gcc
> index bd0fb63..50e86e5 100644
> --- a/gcc/config.gcc
> +++ b/gcc/config.gcc
> @@ -775,6 +775,7 @@ case ${target} in
>     case ${enable_threads} in
>       yes) thread_file='rtems' ;;
>     esac
> +  tmake_file="${tmake_file} t-rtems"
>     extra_options="${extra_options} rtems.opt"
>     default_use_cxa_atexit=yes
>     use_gcc_stdint=wrap
> @@ -1027,7 +1028,7 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
>   	esac
>   	default_use_cxa_atexit=yes
>   	tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/bpabi.h"
> -	tmake_file="arm/t-arm arm/t-arm-elf"
> +	tmake_file="${tmake_file} arm/t-arm arm/t-arm-elf"
>   	case ${target} in
>   	arm*-*-eabi*)
>   	  tm_file="$tm_file newlib-stdint.h"
> @@ -1036,7 +1037,7 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
>   	  ;;
>   	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"
> +	  tmake_file="${tmake_file} arm/t-bpabi arm/t-rtems-eabi"
>   	  ;;
>   	arm*-*-symbianelf*)
>   	  tm_file="${tm_file} arm/symbian.h"
[...]

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the Gcc-patches mailing list