* [PATCH] RTEMS: Generalize t-rtems usage
@ 2014-01-06 18:28 Sebastian Huber
2014-01-07 9:35 ` Sebastian Huber
2014-01-07 16:58 ` [PATCH v2] " Sebastian Huber
0 siblings, 2 replies; 6+ messages in thread
From: Sebastian Huber @ 2014-01-06 18:28 UTC (permalink / raw)
To: gcc-patches; +Cc: Joel Sherrill
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.
(arm*-*-rtems*): Use t-rtems from existing tmake_file.
(avr-*-rtems*): Likewise.
(bfin*-rtems*): Likewise.
(moxie-*-rtems*): Likewise.
(h8300-*-rtems*): Likewise.
(i[34567]86-*-rtems*): Likewise.
(lm32-*-rtems*): Likewise.
(m32r-*-rtems*): Likewise.
(m68k-*-rtems*): Likewise.
(microblaze*-*-rtems*): Likewise.
(mips*-*-rtems*): Likewise.
(powerpc-*-rtems*): Likewise.
(sh-*-rtems*): Likewise.
(sparc-*-rtems*): Likewise.
(sparc64-*-rtems*): Likewise.
(v850-*-rtems*): Likewise.
(m32c-*-rtems*): Likewise.
---
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"
@@ -1049,7 +1050,7 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
;;
avr-*-rtems*)
tm_file="elfos.h avr/elf.h avr/avr-arch.h avr/avr.h dbxelf.h avr/rtems.h rtems.h newlib-stdint.h"
- tmake_file="avr/t-avr avr/t-multilib t-rtems avr/t-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"
;;
@@ -1081,7 +1082,7 @@ bfin*-linux-uclibc*)
;;
bfin*-rtems*)
tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/rtems.h rtems.h newlib-stdint.h"
- tmake_file="t-rtems bfin/t-rtems"
+ tmake_file="${tmake_file} bfin/t-rtems"
;;
bfin*-*)
tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h bfin/elf.h"
@@ -1155,11 +1156,11 @@ moxie-*-uclinux*)
tmake_file="${tmake_file} moxie/t-moxie"
;;
moxie-*-rtems*)
- tmake_file="${tmake_file} moxie/t-moxie t-rtems"
+ tmake_file="${tmake_file} moxie/t-moxie"
tm_file="moxie/moxie.h dbxelf.h elfos.h moxie/rtems.h rtems.h newlib-stdint.h"
;;
h8300-*-rtems*)
- tmake_file="h8300/t-h8300 t-rtems h8300/t-rtems"
+ tmake_file="${tmake_file} h8300/t-h8300 h8300/t-rtems"
tm_file="h8300/h8300.h dbxelf.h elfos.h h8300/elf.h h8300/rtems.h rtems.h newlib-stdint.h"
;;
h8300-*-elf*)
@@ -1500,7 +1501,7 @@ i[34567]86-*-nto-qnx*)
;;
i[34567]86-*-rtems*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h i386/rtemself.h rtems.h newlib-stdint.h"
- tmake_file="${tmake_file} i386/t-rtems t-rtems"
+ tmake_file="${tmake_file} i386/t-rtems"
;;
i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
tm_file="${tm_file} i386/unix.h i386/att.h ${sol2_tm_file}"
@@ -1748,7 +1749,6 @@ lm32-*-elf*)
lm32-*-rtems*)
tm_file="dbxelf.h elfos.h ${tm_file} lm32/rtems.h rtems.h newlib-stdint.h"
tmake_file="${tmake_file} lm32/t-lm32"
- tmake_file="${tmake_file} t-rtems"
tmake_file="${tmake_file} lm32/t-rtems"
;;
lm32-*-uclinux*)
@@ -1763,7 +1763,7 @@ m32rle-*-elf*)
;;
m32r-*-rtems*)
tm_file="dbxelf.h elfos.h ${tm_file} m32r/rtems.h rtems.h newlib-stdint.h"
- tmake_file="m32r/t-m32r t-rtems"
+ tmake_file="${tmake_file} m32r/t-m32r"
;;
m32r-*-linux*)
tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} m32r/linux.h"
@@ -1854,7 +1854,7 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux
m68k-*-rtems*)
default_m68k_cpu=68020
default_cf_cpu=5206
- tmake_file="m68k/t-floatlib m68k/t-m68kbare m68k/t-crtstuff t-rtems m68k/t-rtems m68k/t-mlibs"
+ tmake_file="${tmake_file} m68k/t-floatlib m68k/t-m68kbare m68k/t-crtstuff m68k/t-rtems m68k/t-mlibs"
tm_file="${tm_file} m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h m68k/rtemself.h rtems.h newlib-stdint.h"
tm_defines="${tm_defines} MOTOROLA=1"
;;
@@ -1904,7 +1904,7 @@ microblaze*-*-rtems*)
c_target_objs="${c_target_objs} microblaze-c.o"
cxx_target_objs="${cxx_target_objs} microblaze-c.o"
tmake_file="${tmake_file} microblaze/t-microblaze"
- tmake_file="${tmake_file} t-rtems microblaze/t-rtems"
+ tmake_file="${tmake_file} microblaze/t-rtems"
;;
microblaze*-*-elf)
case $target in
@@ -2079,7 +2079,7 @@ mips64orion-*-elf* | mips64orionel-*-elf*)
;;
mips*-*-rtems*)
tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h mips/rtems.h rtems.h"
- tmake_file="mips/t-elf t-rtems mips/t-rtems"
+ tmake_file="${tmake_file} mips/t-elf mips/t-rtems"
;;
mips-wrs-vxworks)
tm_file="elfos.h ${tm_file} mips/elf.h vx-common.h vxworks.h mips/vxworks.h"
@@ -2236,7 +2236,7 @@ powerpc-*-eabi*)
powerpc-*-rtems*)
tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/rtems.h rtems.h"
extra_options="${extra_options} rs6000/sysv4.opt"
- tmake_file="rs6000/t-fprules rs6000/t-rtems t-rtems rs6000/t-ppccomm"
+ tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-rtems rs6000/t-ppccomm"
;;
powerpc*-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h rs6000/sysv4.h"
@@ -2607,7 +2607,7 @@ sh-*-elf* | sh[12346l]*-*-elf* | \
tmake_file="$tmake_file t-sysroot-suffix"
;;
sh-*-rtems*)
- tmake_file="sh/t-sh t-rtems sh/t-rtems"
+ tmake_file="${tmake_file} sh/t-sh sh/t-rtems"
tm_file="${tm_file} dbxelf.h elfos.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h newlib-stdint.h"
;;
sh-wrs-vxworks)
@@ -2630,7 +2630,7 @@ sparc-*-elf*)
;;
sparc-*-rtems*)
tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
- tmake_file="sparc/t-sparc sparc/t-elf sparc/t-rtems t-rtems"
+ tmake_file="${tmake_file} sparc/t-sparc sparc/t-elf sparc/t-rtems"
;;
sparc-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
@@ -2684,7 +2684,7 @@ sparc64-*-elf*)
sparc64-*-rtems*)
tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h sparc/sysv4.h sparc/sp64-elf.h sparc/rtemself.h rtems.h"
extra_options="${extra_options}"
- tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64 t-rtems"
+ tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64"
;;
sparc64-*-linux*)
tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/default-64.h sparc/linux64.h sparc/tso.h"
@@ -2761,7 +2761,7 @@ v850-*-rtems*)
tm_file="dbxelf.h elfos.h v850/v850.h"
tm_file="${tm_file} rtems.h v850/rtems.h newlib-stdint.h"
tmake_file="${tmake_file} v850/t-v850"
- tmake_file="${tmake_file} t-rtems v850/t-rtems"
+ tmake_file="${tmake_file} v850/t-rtems"
use_collect2=no
c_target_objs="v850-c.o"
cxx_target_objs="v850-c.o"
@@ -2834,7 +2834,6 @@ am33_2.0-*-linux*)
;;
m32c-*-rtems*)
tm_file="dbxelf.h elfos.h ${tm_file} m32c/rtems.h rtems.h newlib-stdint.h"
- tmake_file="${tmake_file} t-rtems"
c_target_objs="m32c-pragma.o"
cxx_target_objs="m32c-pragma.o"
;;
--
1.8.1.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] RTEMS: Generalize t-rtems usage
2014-01-06 18:28 [PATCH] RTEMS: Generalize t-rtems usage Sebastian Huber
@ 2014-01-07 9:35 ` Sebastian Huber
2014-01-07 11:55 ` Richard Earnshaw
2014-01-07 16:58 ` [PATCH v2] " Sebastian Huber
1 sibling, 1 reply; 6+ messages in thread
From: Sebastian Huber @ 2014-01-07 9:35 UTC (permalink / raw)
To: gcc-patches; +Cc: rearnsha
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] RTEMS: Generalize t-rtems usage
2014-01-07 9:35 ` Sebastian Huber
@ 2014-01-07 11:55 ` Richard Earnshaw
0 siblings, 0 replies; 6+ messages in thread
From: Richard Earnshaw @ 2014-01-07 11:55 UTC (permalink / raw)
To: Sebastian Huber; +Cc: gcc-patches
On 07/01/14 09:35, Sebastian Huber wrote:
> 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.
> [...]
Yes, the ARM bits are ok.
There's a similar problem with arm*-*-uclinux*eabi*. Would you mind
fixing that while you are there?
R.
>> ---
>> 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"
> [...]
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2] RTEMS: Generalize t-rtems usage
2014-01-06 18:28 [PATCH] RTEMS: Generalize t-rtems usage Sebastian Huber
2014-01-07 9:35 ` Sebastian Huber
@ 2014-01-07 16:58 ` Sebastian Huber
2014-01-07 17:21 ` Joel Sherrill
2014-01-15 17:45 ` Joel Sherrill
1 sibling, 2 replies; 6+ messages in thread
From: Sebastian Huber @ 2014-01-07 16:58 UTC (permalink / raw)
To: gcc-patches; +Cc: Joel Sherrill, rearnsha
v2: Do not override an existing tmake_file in (arm*-*-uclinux*eabi*).
The ARM changes are already approved:
http://gcc.gnu.org/ml/gcc-patches/2014-01/msg00254.html
The rest is RTEMS specific.
gcc/ChangeLog
2014-01-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* config.gcc (*-*-rtems*): Add t-rtems to tmake_file.
(arm*-*-uclinux*eabi*): Do not override an existing tmake_file.
(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*): Likwise.
(arm*-*-rtems*): Use t-rtems from existing tmake_file.
(avr-*-rtems*): Likewise.
(bfin*-rtems*): Likewise.
(moxie-*-rtems*): Likewise.
(h8300-*-rtems*): Likewise.
(i[34567]86-*-rtems*): Likewise.
(lm32-*-rtems*): Likewise.
(m32r-*-rtems*): Likewise.
(m68k-*-rtems*): Likewise.
(microblaze*-*-rtems*): Likewise.
(mips*-*-rtems*): Likewise.
(powerpc-*-rtems*): Likewise.
(sh-*-rtems*): Likewise.
(sparc-*-rtems*): Likewise.
(sparc64-*-rtems*): Likewise.
(v850-*-rtems*): Likewise.
(m32c-*-rtems*): Likewise.
---
gcc/config.gcc | 37 ++++++++++++++++++-------------------
1 file changed, 18 insertions(+), 19 deletions(-)
diff --git a/gcc/config.gcc b/gcc/config.gcc
index bd0fb63..4d0a3f1 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
@@ -1015,7 +1016,7 @@ arm*-*-linux-*) # ARM GNU/Linux with ELF
;;
arm*-*-uclinux*eabi*) # ARM ucLinux
tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/uclinux-elf.h glibc-stdint.h"
- tmake_file="arm/t-arm arm/t-arm-elf arm/t-bpabi"
+ tmake_file="${tmake_file} arm/t-arm arm/t-arm-elf arm/t-bpabi"
tm_file="$tm_file arm/bpabi.h arm/uclinux-eabi.h arm/aout.h vxworks-dummy.h arm/arm.h"
# The EABI requires the use of __cxa_atexit.
default_use_cxa_atexit=yes
@@ -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"
@@ -1049,7 +1050,7 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
;;
avr-*-rtems*)
tm_file="elfos.h avr/elf.h avr/avr-arch.h avr/avr.h dbxelf.h avr/rtems.h rtems.h newlib-stdint.h"
- tmake_file="avr/t-avr avr/t-multilib t-rtems avr/t-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"
;;
@@ -1081,7 +1082,7 @@ bfin*-linux-uclibc*)
;;
bfin*-rtems*)
tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/rtems.h rtems.h newlib-stdint.h"
- tmake_file="t-rtems bfin/t-rtems"
+ tmake_file="${tmake_file} bfin/t-rtems"
;;
bfin*-*)
tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h bfin/elf.h"
@@ -1155,11 +1156,11 @@ moxie-*-uclinux*)
tmake_file="${tmake_file} moxie/t-moxie"
;;
moxie-*-rtems*)
- tmake_file="${tmake_file} moxie/t-moxie t-rtems"
+ tmake_file="${tmake_file} moxie/t-moxie"
tm_file="moxie/moxie.h dbxelf.h elfos.h moxie/rtems.h rtems.h newlib-stdint.h"
;;
h8300-*-rtems*)
- tmake_file="h8300/t-h8300 t-rtems h8300/t-rtems"
+ tmake_file="${tmake_file} h8300/t-h8300 h8300/t-rtems"
tm_file="h8300/h8300.h dbxelf.h elfos.h h8300/elf.h h8300/rtems.h rtems.h newlib-stdint.h"
;;
h8300-*-elf*)
@@ -1500,7 +1501,7 @@ i[34567]86-*-nto-qnx*)
;;
i[34567]86-*-rtems*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h i386/rtemself.h rtems.h newlib-stdint.h"
- tmake_file="${tmake_file} i386/t-rtems t-rtems"
+ tmake_file="${tmake_file} i386/t-rtems"
;;
i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
tm_file="${tm_file} i386/unix.h i386/att.h ${sol2_tm_file}"
@@ -1748,7 +1749,6 @@ lm32-*-elf*)
lm32-*-rtems*)
tm_file="dbxelf.h elfos.h ${tm_file} lm32/rtems.h rtems.h newlib-stdint.h"
tmake_file="${tmake_file} lm32/t-lm32"
- tmake_file="${tmake_file} t-rtems"
tmake_file="${tmake_file} lm32/t-rtems"
;;
lm32-*-uclinux*)
@@ -1763,7 +1763,7 @@ m32rle-*-elf*)
;;
m32r-*-rtems*)
tm_file="dbxelf.h elfos.h ${tm_file} m32r/rtems.h rtems.h newlib-stdint.h"
- tmake_file="m32r/t-m32r t-rtems"
+ tmake_file="${tmake_file} m32r/t-m32r"
;;
m32r-*-linux*)
tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} m32r/linux.h"
@@ -1854,7 +1854,7 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux
m68k-*-rtems*)
default_m68k_cpu=68020
default_cf_cpu=5206
- tmake_file="m68k/t-floatlib m68k/t-m68kbare m68k/t-crtstuff t-rtems m68k/t-rtems m68k/t-mlibs"
+ tmake_file="${tmake_file} m68k/t-floatlib m68k/t-m68kbare m68k/t-crtstuff m68k/t-rtems m68k/t-mlibs"
tm_file="${tm_file} m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h m68k/rtemself.h rtems.h newlib-stdint.h"
tm_defines="${tm_defines} MOTOROLA=1"
;;
@@ -1904,7 +1904,7 @@ microblaze*-*-rtems*)
c_target_objs="${c_target_objs} microblaze-c.o"
cxx_target_objs="${cxx_target_objs} microblaze-c.o"
tmake_file="${tmake_file} microblaze/t-microblaze"
- tmake_file="${tmake_file} t-rtems microblaze/t-rtems"
+ tmake_file="${tmake_file} microblaze/t-rtems"
;;
microblaze*-*-elf)
case $target in
@@ -2079,7 +2079,7 @@ mips64orion-*-elf* | mips64orionel-*-elf*)
;;
mips*-*-rtems*)
tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h mips/rtems.h rtems.h"
- tmake_file="mips/t-elf t-rtems mips/t-rtems"
+ tmake_file="${tmake_file} mips/t-elf mips/t-rtems"
;;
mips-wrs-vxworks)
tm_file="elfos.h ${tm_file} mips/elf.h vx-common.h vxworks.h mips/vxworks.h"
@@ -2236,7 +2236,7 @@ powerpc-*-eabi*)
powerpc-*-rtems*)
tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/rtems.h rtems.h"
extra_options="${extra_options} rs6000/sysv4.opt"
- tmake_file="rs6000/t-fprules rs6000/t-rtems t-rtems rs6000/t-ppccomm"
+ tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-rtems rs6000/t-ppccomm"
;;
powerpc*-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h rs6000/sysv4.h"
@@ -2607,7 +2607,7 @@ sh-*-elf* | sh[12346l]*-*-elf* | \
tmake_file="$tmake_file t-sysroot-suffix"
;;
sh-*-rtems*)
- tmake_file="sh/t-sh t-rtems sh/t-rtems"
+ tmake_file="${tmake_file} sh/t-sh sh/t-rtems"
tm_file="${tm_file} dbxelf.h elfos.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h newlib-stdint.h"
;;
sh-wrs-vxworks)
@@ -2630,7 +2630,7 @@ sparc-*-elf*)
;;
sparc-*-rtems*)
tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
- tmake_file="sparc/t-sparc sparc/t-elf sparc/t-rtems t-rtems"
+ tmake_file="${tmake_file} sparc/t-sparc sparc/t-elf sparc/t-rtems"
;;
sparc-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
@@ -2684,7 +2684,7 @@ sparc64-*-elf*)
sparc64-*-rtems*)
tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h sparc/sysv4.h sparc/sp64-elf.h sparc/rtemself.h rtems.h"
extra_options="${extra_options}"
- tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64 t-rtems"
+ tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64"
;;
sparc64-*-linux*)
tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/default-64.h sparc/linux64.h sparc/tso.h"
@@ -2761,7 +2761,7 @@ v850-*-rtems*)
tm_file="dbxelf.h elfos.h v850/v850.h"
tm_file="${tm_file} rtems.h v850/rtems.h newlib-stdint.h"
tmake_file="${tmake_file} v850/t-v850"
- tmake_file="${tmake_file} t-rtems v850/t-rtems"
+ tmake_file="${tmake_file} v850/t-rtems"
use_collect2=no
c_target_objs="v850-c.o"
cxx_target_objs="v850-c.o"
@@ -2834,7 +2834,6 @@ am33_2.0-*-linux*)
;;
m32c-*-rtems*)
tm_file="dbxelf.h elfos.h ${tm_file} m32c/rtems.h rtems.h newlib-stdint.h"
- tmake_file="${tmake_file} t-rtems"
c_target_objs="m32c-pragma.o"
cxx_target_objs="m32c-pragma.o"
;;
--
1.8.1.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2] RTEMS: Generalize t-rtems usage
2014-01-07 16:58 ` [PATCH v2] " Sebastian Huber
@ 2014-01-07 17:21 ` Joel Sherrill
2014-01-15 17:45 ` Joel Sherrill
1 sibling, 0 replies; 6+ messages in thread
From: Joel Sherrill @ 2014-01-07 17:21 UTC (permalink / raw)
To: Sebastian Huber, gcc-patches; +Cc: rearnsha
If no one objects, I will commit this later today.
--joel
On 1/7/2014 10:58 AM, Sebastian Huber wrote:
> v2: Do not override an existing tmake_file in (arm*-*-uclinux*eabi*).
>
> The ARM changes are already approved:
>
> http://gcc.gnu.org/ml/gcc-patches/2014-01/msg00254.html
>
> The rest is RTEMS specific.
>
> gcc/ChangeLog
> 2014-01-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
>
> * config.gcc (*-*-rtems*): Add t-rtems to tmake_file.
> (arm*-*-uclinux*eabi*): Do not override an existing tmake_file.
> (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*): Likwise.
> (arm*-*-rtems*): Use t-rtems from existing tmake_file.
> (avr-*-rtems*): Likewise.
> (bfin*-rtems*): Likewise.
> (moxie-*-rtems*): Likewise.
> (h8300-*-rtems*): Likewise.
> (i[34567]86-*-rtems*): Likewise.
> (lm32-*-rtems*): Likewise.
> (m32r-*-rtems*): Likewise.
> (m68k-*-rtems*): Likewise.
> (microblaze*-*-rtems*): Likewise.
> (mips*-*-rtems*): Likewise.
> (powerpc-*-rtems*): Likewise.
> (sh-*-rtems*): Likewise.
> (sparc-*-rtems*): Likewise.
> (sparc64-*-rtems*): Likewise.
> (v850-*-rtems*): Likewise.
> (m32c-*-rtems*): Likewise.
> ---
> gcc/config.gcc | 37 ++++++++++++++++++-------------------
> 1 file changed, 18 insertions(+), 19 deletions(-)
>
> diff --git a/gcc/config.gcc b/gcc/config.gcc
> index bd0fb63..4d0a3f1 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
> @@ -1015,7 +1016,7 @@ arm*-*-linux-*) # ARM GNU/Linux with ELF
> ;;
> arm*-*-uclinux*eabi*) # ARM ucLinux
> tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/uclinux-elf.h glibc-stdint.h"
> - tmake_file="arm/t-arm arm/t-arm-elf arm/t-bpabi"
> + tmake_file="${tmake_file} arm/t-arm arm/t-arm-elf arm/t-bpabi"
> tm_file="$tm_file arm/bpabi.h arm/uclinux-eabi.h arm/aout.h vxworks-dummy.h arm/arm.h"
> # The EABI requires the use of __cxa_atexit.
> default_use_cxa_atexit=yes
> @@ -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"
> @@ -1049,7 +1050,7 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
> ;;
> avr-*-rtems*)
> tm_file="elfos.h avr/elf.h avr/avr-arch.h avr/avr.h dbxelf.h avr/rtems.h rtems.h newlib-stdint.h"
> - tmake_file="avr/t-avr avr/t-multilib t-rtems avr/t-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"
> ;;
> @@ -1081,7 +1082,7 @@ bfin*-linux-uclibc*)
> ;;
> bfin*-rtems*)
> tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/rtems.h rtems.h newlib-stdint.h"
> - tmake_file="t-rtems bfin/t-rtems"
> + tmake_file="${tmake_file} bfin/t-rtems"
> ;;
> bfin*-*)
> tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h bfin/elf.h"
> @@ -1155,11 +1156,11 @@ moxie-*-uclinux*)
> tmake_file="${tmake_file} moxie/t-moxie"
> ;;
> moxie-*-rtems*)
> - tmake_file="${tmake_file} moxie/t-moxie t-rtems"
> + tmake_file="${tmake_file} moxie/t-moxie"
> tm_file="moxie/moxie.h dbxelf.h elfos.h moxie/rtems.h rtems.h newlib-stdint.h"
> ;;
> h8300-*-rtems*)
> - tmake_file="h8300/t-h8300 t-rtems h8300/t-rtems"
> + tmake_file="${tmake_file} h8300/t-h8300 h8300/t-rtems"
> tm_file="h8300/h8300.h dbxelf.h elfos.h h8300/elf.h h8300/rtems.h rtems.h newlib-stdint.h"
> ;;
> h8300-*-elf*)
> @@ -1500,7 +1501,7 @@ i[34567]86-*-nto-qnx*)
> ;;
> i[34567]86-*-rtems*)
> tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h i386/rtemself.h rtems.h newlib-stdint.h"
> - tmake_file="${tmake_file} i386/t-rtems t-rtems"
> + tmake_file="${tmake_file} i386/t-rtems"
> ;;
> i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
> tm_file="${tm_file} i386/unix.h i386/att.h ${sol2_tm_file}"
> @@ -1748,7 +1749,6 @@ lm32-*-elf*)
> lm32-*-rtems*)
> tm_file="dbxelf.h elfos.h ${tm_file} lm32/rtems.h rtems.h newlib-stdint.h"
> tmake_file="${tmake_file} lm32/t-lm32"
> - tmake_file="${tmake_file} t-rtems"
> tmake_file="${tmake_file} lm32/t-rtems"
> ;;
> lm32-*-uclinux*)
> @@ -1763,7 +1763,7 @@ m32rle-*-elf*)
> ;;
> m32r-*-rtems*)
> tm_file="dbxelf.h elfos.h ${tm_file} m32r/rtems.h rtems.h newlib-stdint.h"
> - tmake_file="m32r/t-m32r t-rtems"
> + tmake_file="${tmake_file} m32r/t-m32r"
> ;;
> m32r-*-linux*)
> tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} m32r/linux.h"
> @@ -1854,7 +1854,7 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux
> m68k-*-rtems*)
> default_m68k_cpu=68020
> default_cf_cpu=5206
> - tmake_file="m68k/t-floatlib m68k/t-m68kbare m68k/t-crtstuff t-rtems m68k/t-rtems m68k/t-mlibs"
> + tmake_file="${tmake_file} m68k/t-floatlib m68k/t-m68kbare m68k/t-crtstuff m68k/t-rtems m68k/t-mlibs"
> tm_file="${tm_file} m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h m68k/rtemself.h rtems.h newlib-stdint.h"
> tm_defines="${tm_defines} MOTOROLA=1"
> ;;
> @@ -1904,7 +1904,7 @@ microblaze*-*-rtems*)
> c_target_objs="${c_target_objs} microblaze-c.o"
> cxx_target_objs="${cxx_target_objs} microblaze-c.o"
> tmake_file="${tmake_file} microblaze/t-microblaze"
> - tmake_file="${tmake_file} t-rtems microblaze/t-rtems"
> + tmake_file="${tmake_file} microblaze/t-rtems"
> ;;
> microblaze*-*-elf)
> case $target in
> @@ -2079,7 +2079,7 @@ mips64orion-*-elf* | mips64orionel-*-elf*)
> ;;
> mips*-*-rtems*)
> tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h mips/rtems.h rtems.h"
> - tmake_file="mips/t-elf t-rtems mips/t-rtems"
> + tmake_file="${tmake_file} mips/t-elf mips/t-rtems"
> ;;
> mips-wrs-vxworks)
> tm_file="elfos.h ${tm_file} mips/elf.h vx-common.h vxworks.h mips/vxworks.h"
> @@ -2236,7 +2236,7 @@ powerpc-*-eabi*)
> powerpc-*-rtems*)
> tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/rtems.h rtems.h"
> extra_options="${extra_options} rs6000/sysv4.opt"
> - tmake_file="rs6000/t-fprules rs6000/t-rtems t-rtems rs6000/t-ppccomm"
> + tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-rtems rs6000/t-ppccomm"
> ;;
> powerpc*-*-linux*)
> tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h rs6000/sysv4.h"
> @@ -2607,7 +2607,7 @@ sh-*-elf* | sh[12346l]*-*-elf* | \
> tmake_file="$tmake_file t-sysroot-suffix"
> ;;
> sh-*-rtems*)
> - tmake_file="sh/t-sh t-rtems sh/t-rtems"
> + tmake_file="${tmake_file} sh/t-sh sh/t-rtems"
> tm_file="${tm_file} dbxelf.h elfos.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h newlib-stdint.h"
> ;;
> sh-wrs-vxworks)
> @@ -2630,7 +2630,7 @@ sparc-*-elf*)
> ;;
> sparc-*-rtems*)
> tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
> - tmake_file="sparc/t-sparc sparc/t-elf sparc/t-rtems t-rtems"
> + tmake_file="${tmake_file} sparc/t-sparc sparc/t-elf sparc/t-rtems"
> ;;
> sparc-*-linux*)
> tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
> @@ -2684,7 +2684,7 @@ sparc64-*-elf*)
> sparc64-*-rtems*)
> tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h sparc/sysv4.h sparc/sp64-elf.h sparc/rtemself.h rtems.h"
> extra_options="${extra_options}"
> - tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64 t-rtems"
> + tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64"
> ;;
> sparc64-*-linux*)
> tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/default-64.h sparc/linux64.h sparc/tso.h"
> @@ -2761,7 +2761,7 @@ v850-*-rtems*)
> tm_file="dbxelf.h elfos.h v850/v850.h"
> tm_file="${tm_file} rtems.h v850/rtems.h newlib-stdint.h"
> tmake_file="${tmake_file} v850/t-v850"
> - tmake_file="${tmake_file} t-rtems v850/t-rtems"
> + tmake_file="${tmake_file} v850/t-rtems"
> use_collect2=no
> c_target_objs="v850-c.o"
> cxx_target_objs="v850-c.o"
> @@ -2834,7 +2834,6 @@ am33_2.0-*-linux*)
> ;;
> m32c-*-rtems*)
> tm_file="dbxelf.h elfos.h ${tm_file} m32c/rtems.h rtems.h newlib-stdint.h"
> - tmake_file="${tmake_file} t-rtems"
> c_target_objs="m32c-pragma.o"
> cxx_target_objs="m32c-pragma.o"
> ;;
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2] RTEMS: Generalize t-rtems usage
2014-01-07 16:58 ` [PATCH v2] " Sebastian Huber
2014-01-07 17:21 ` Joel Sherrill
@ 2014-01-15 17:45 ` Joel Sherrill
1 sibling, 0 replies; 6+ messages in thread
From: Joel Sherrill @ 2014-01-15 17:45 UTC (permalink / raw)
To: Sebastian Huber, gcc-patches; +Cc: rearnsha, Chris Johns
This patch is now committed.
--joel
On 1/7/2014 10:58 AM, Sebastian Huber wrote:
> v2: Do not override an existing tmake_file in (arm*-*-uclinux*eabi*).
>
> The ARM changes are already approved:
>
> http://gcc.gnu.org/ml/gcc-patches/2014-01/msg00254.html
>
> The rest is RTEMS specific.
>
> gcc/ChangeLog
> 2014-01-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
>
> * config.gcc (*-*-rtems*): Add t-rtems to tmake_file.
> (arm*-*-uclinux*eabi*): Do not override an existing tmake_file.
> (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*): Likwise.
> (arm*-*-rtems*): Use t-rtems from existing tmake_file.
> (avr-*-rtems*): Likewise.
> (bfin*-rtems*): Likewise.
> (moxie-*-rtems*): Likewise.
> (h8300-*-rtems*): Likewise.
> (i[34567]86-*-rtems*): Likewise.
> (lm32-*-rtems*): Likewise.
> (m32r-*-rtems*): Likewise.
> (m68k-*-rtems*): Likewise.
> (microblaze*-*-rtems*): Likewise.
> (mips*-*-rtems*): Likewise.
> (powerpc-*-rtems*): Likewise.
> (sh-*-rtems*): Likewise.
> (sparc-*-rtems*): Likewise.
> (sparc64-*-rtems*): Likewise.
> (v850-*-rtems*): Likewise.
> (m32c-*-rtems*): Likewise.
> ---
> gcc/config.gcc | 37 ++++++++++++++++++-------------------
> 1 file changed, 18 insertions(+), 19 deletions(-)
>
> diff --git a/gcc/config.gcc b/gcc/config.gcc
> index bd0fb63..4d0a3f1 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
> @@ -1015,7 +1016,7 @@ arm*-*-linux-*) # ARM GNU/Linux with ELF
> ;;
> arm*-*-uclinux*eabi*) # ARM ucLinux
> tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/uclinux-elf.h glibc-stdint.h"
> - tmake_file="arm/t-arm arm/t-arm-elf arm/t-bpabi"
> + tmake_file="${tmake_file} arm/t-arm arm/t-arm-elf arm/t-bpabi"
> tm_file="$tm_file arm/bpabi.h arm/uclinux-eabi.h arm/aout.h vxworks-dummy.h arm/arm.h"
> # The EABI requires the use of __cxa_atexit.
> default_use_cxa_atexit=yes
> @@ -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"
> @@ -1049,7 +1050,7 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
> ;;
> avr-*-rtems*)
> tm_file="elfos.h avr/elf.h avr/avr-arch.h avr/avr.h dbxelf.h avr/rtems.h rtems.h newlib-stdint.h"
> - tmake_file="avr/t-avr avr/t-multilib t-rtems avr/t-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"
> ;;
> @@ -1081,7 +1082,7 @@ bfin*-linux-uclibc*)
> ;;
> bfin*-rtems*)
> tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/rtems.h rtems.h newlib-stdint.h"
> - tmake_file="t-rtems bfin/t-rtems"
> + tmake_file="${tmake_file} bfin/t-rtems"
> ;;
> bfin*-*)
> tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h bfin/elf.h"
> @@ -1155,11 +1156,11 @@ moxie-*-uclinux*)
> tmake_file="${tmake_file} moxie/t-moxie"
> ;;
> moxie-*-rtems*)
> - tmake_file="${tmake_file} moxie/t-moxie t-rtems"
> + tmake_file="${tmake_file} moxie/t-moxie"
> tm_file="moxie/moxie.h dbxelf.h elfos.h moxie/rtems.h rtems.h newlib-stdint.h"
> ;;
> h8300-*-rtems*)
> - tmake_file="h8300/t-h8300 t-rtems h8300/t-rtems"
> + tmake_file="${tmake_file} h8300/t-h8300 h8300/t-rtems"
> tm_file="h8300/h8300.h dbxelf.h elfos.h h8300/elf.h h8300/rtems.h rtems.h newlib-stdint.h"
> ;;
> h8300-*-elf*)
> @@ -1500,7 +1501,7 @@ i[34567]86-*-nto-qnx*)
> ;;
> i[34567]86-*-rtems*)
> tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h i386/rtemself.h rtems.h newlib-stdint.h"
> - tmake_file="${tmake_file} i386/t-rtems t-rtems"
> + tmake_file="${tmake_file} i386/t-rtems"
> ;;
> i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
> tm_file="${tm_file} i386/unix.h i386/att.h ${sol2_tm_file}"
> @@ -1748,7 +1749,6 @@ lm32-*-elf*)
> lm32-*-rtems*)
> tm_file="dbxelf.h elfos.h ${tm_file} lm32/rtems.h rtems.h newlib-stdint.h"
> tmake_file="${tmake_file} lm32/t-lm32"
> - tmake_file="${tmake_file} t-rtems"
> tmake_file="${tmake_file} lm32/t-rtems"
> ;;
> lm32-*-uclinux*)
> @@ -1763,7 +1763,7 @@ m32rle-*-elf*)
> ;;
> m32r-*-rtems*)
> tm_file="dbxelf.h elfos.h ${tm_file} m32r/rtems.h rtems.h newlib-stdint.h"
> - tmake_file="m32r/t-m32r t-rtems"
> + tmake_file="${tmake_file} m32r/t-m32r"
> ;;
> m32r-*-linux*)
> tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} m32r/linux.h"
> @@ -1854,7 +1854,7 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux
> m68k-*-rtems*)
> default_m68k_cpu=68020
> default_cf_cpu=5206
> - tmake_file="m68k/t-floatlib m68k/t-m68kbare m68k/t-crtstuff t-rtems m68k/t-rtems m68k/t-mlibs"
> + tmake_file="${tmake_file} m68k/t-floatlib m68k/t-m68kbare m68k/t-crtstuff m68k/t-rtems m68k/t-mlibs"
> tm_file="${tm_file} m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h m68k/rtemself.h rtems.h newlib-stdint.h"
> tm_defines="${tm_defines} MOTOROLA=1"
> ;;
> @@ -1904,7 +1904,7 @@ microblaze*-*-rtems*)
> c_target_objs="${c_target_objs} microblaze-c.o"
> cxx_target_objs="${cxx_target_objs} microblaze-c.o"
> tmake_file="${tmake_file} microblaze/t-microblaze"
> - tmake_file="${tmake_file} t-rtems microblaze/t-rtems"
> + tmake_file="${tmake_file} microblaze/t-rtems"
> ;;
> microblaze*-*-elf)
> case $target in
> @@ -2079,7 +2079,7 @@ mips64orion-*-elf* | mips64orionel-*-elf*)
> ;;
> mips*-*-rtems*)
> tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h mips/rtems.h rtems.h"
> - tmake_file="mips/t-elf t-rtems mips/t-rtems"
> + tmake_file="${tmake_file} mips/t-elf mips/t-rtems"
> ;;
> mips-wrs-vxworks)
> tm_file="elfos.h ${tm_file} mips/elf.h vx-common.h vxworks.h mips/vxworks.h"
> @@ -2236,7 +2236,7 @@ powerpc-*-eabi*)
> powerpc-*-rtems*)
> tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/rtems.h rtems.h"
> extra_options="${extra_options} rs6000/sysv4.opt"
> - tmake_file="rs6000/t-fprules rs6000/t-rtems t-rtems rs6000/t-ppccomm"
> + tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-rtems rs6000/t-ppccomm"
> ;;
> powerpc*-*-linux*)
> tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h rs6000/sysv4.h"
> @@ -2607,7 +2607,7 @@ sh-*-elf* | sh[12346l]*-*-elf* | \
> tmake_file="$tmake_file t-sysroot-suffix"
> ;;
> sh-*-rtems*)
> - tmake_file="sh/t-sh t-rtems sh/t-rtems"
> + tmake_file="${tmake_file} sh/t-sh sh/t-rtems"
> tm_file="${tm_file} dbxelf.h elfos.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h newlib-stdint.h"
> ;;
> sh-wrs-vxworks)
> @@ -2630,7 +2630,7 @@ sparc-*-elf*)
> ;;
> sparc-*-rtems*)
> tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
> - tmake_file="sparc/t-sparc sparc/t-elf sparc/t-rtems t-rtems"
> + tmake_file="${tmake_file} sparc/t-sparc sparc/t-elf sparc/t-rtems"
> ;;
> sparc-*-linux*)
> tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
> @@ -2684,7 +2684,7 @@ sparc64-*-elf*)
> sparc64-*-rtems*)
> tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h sparc/sysv4.h sparc/sp64-elf.h sparc/rtemself.h rtems.h"
> extra_options="${extra_options}"
> - tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64 t-rtems"
> + tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64"
> ;;
> sparc64-*-linux*)
> tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/default-64.h sparc/linux64.h sparc/tso.h"
> @@ -2761,7 +2761,7 @@ v850-*-rtems*)
> tm_file="dbxelf.h elfos.h v850/v850.h"
> tm_file="${tm_file} rtems.h v850/rtems.h newlib-stdint.h"
> tmake_file="${tmake_file} v850/t-v850"
> - tmake_file="${tmake_file} t-rtems v850/t-rtems"
> + tmake_file="${tmake_file} v850/t-rtems"
> use_collect2=no
> c_target_objs="v850-c.o"
> cxx_target_objs="v850-c.o"
> @@ -2834,7 +2834,6 @@ am33_2.0-*-linux*)
> ;;
> m32c-*-rtems*)
> tm_file="dbxelf.h elfos.h ${tm_file} m32c/rtems.h rtems.h newlib-stdint.h"
> - tmake_file="${tmake_file} t-rtems"
> c_target_objs="m32c-pragma.o"
> cxx_target_objs="m32c-pragma.o"
> ;;
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-01-15 17:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-06 18:28 [PATCH] RTEMS: Generalize t-rtems usage Sebastian Huber
2014-01-07 9:35 ` Sebastian Huber
2014-01-07 11:55 ` Richard Earnshaw
2014-01-07 16:58 ` [PATCH v2] " Sebastian Huber
2014-01-07 17:21 ` Joel Sherrill
2014-01-15 17:45 ` Joel Sherrill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).