diff options
author | Joel Sherrill <joel@OARcorp.com> | 2000-12-07 02:42:02 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-12-06 19:42:02 -0700 |
commit | bc98ef7f6c0cb3ee14b28c3ca7655261138fe0a1 (patch) | |
tree | c47b465e075e5f52610c560762ac2bc684e2adbe /gcc/config.gcc | |
parent | 5eeab2e3fdc1ed8b98c3c0e9aced14e622f8534f (diff) | |
download | gcc-bc98ef7f6c0cb3ee14b28c3ca7655261138fe0a1.zip gcc-bc98ef7f6c0cb3ee14b28c3ca7655261138fe0a1.tar.gz gcc-bc98ef7f6c0cb3ee14b28c3ca7655261138fe0a1.tar.bz2 |
config.gcc (a29k*-*-rtems*, [...]): New targets.
* config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*,
h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets.
* config.gcc (*-rtems*): Add support for gthr-rtems.h.
* gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
config/h8300/rtems.h, config/mips/rtems.h: New files.
From-SVN: r38094
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 71be47c..2175bc9 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -319,6 +319,13 @@ a29k-*-udi | a29k-*-coff) tm_file="${tm_file} dbxcoff.h a29k/udi.h" tmake_file=a29k/t-a29kbare ;; +a29k*-*-rtems*) + tm_file=a29k/rtems.h + tmake_file="a29k/t-a29kbare t-rtems" + if test x$enable_threads = xyes; then + thread_file='rtems' + fi + ;; a29k-wrs-vxworks*) tm_file="${tm_file} dbxcoff.h a29k/udi.h a29k/vx29k.h" tmake_file=a29k/t-vx29k @@ -476,6 +483,14 @@ alpha*-dec-vms*) xm_file="${xm_file} alpha/xm-vms.h" tmake_file="alpha/t-alpha alpha/t-vms alpha/t-ieee" ;; +arm*-*-rtems*) + tm_file=arm/rtems-elf.h + tmake_file="arm/t-arm-elf t-rtems" + if test x$enable_threads = xyes; then + thread_file='rtems' + fi + extra_parts="crtinit.o crtfini.o" + ;; arc-*-elf*) extra_parts="crtinit.o crtfini.o" ;; @@ -603,6 +618,14 @@ c38-convex-*) target_cpu_default=16 use_collect2=yes ;; +c4x-*-rtems*) + cpu_type=c4x + tmake_file="c4x/t-c4x t-rtems" + tm_file=c4x/rtems.h + if test x$enable_threads = xyes; then + thread_file='rtems' + fi + ;; c4x-*) cpu_type=c4x float_format=c4x @@ -629,6 +652,14 @@ fr30-*-elf) tmake_file=fr30/t-fr30 extra_parts="crti.o crtn.o crtbegin.o crtend.o" ;; +h8300-*-rtems*) + tmake_file="h8300/t-h8300 t-rtems" + tm_file=h8300/rtems.h + if test x$enable_threads = xyes; then + thread_file='rtems' + fi + float_format=i32 + ;; h8300-*-*) float_format=i32 ;; @@ -647,6 +678,14 @@ hppa*-*-openbsd*) target_cpu_default="MASK_PA_11" tmake_file=pa/t-openbsd ;; +hppa1.1-*-rtems*) + tm_file="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h pa/rtems.h" + xm_file=pa/xm-papro.h + tmake_file="pa/t-pro t-rtems" + if test x$enable_threads = xyes; then + thread_file='rtems' + fi + ;; hppa1.1-*-pro*) target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)" tm_file="${tm_file} pa/pa32-regs.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h" @@ -1203,17 +1242,26 @@ i[34567]86-go32-rtems*) xm_file=i386/xm-go32.h tm_file=i386/go32-rtems.h tmake_file="i386/t-go32 t-rtems" + if test x$enable_threads = xyes; then + thread_file='rtems' + fi ;; i[34567]86-*-rtemscoff*) cpu_type=i386 tm_file=i386/rtems.h tmake_file="i386/t-i386bare t-rtems" + if test x$enable_threads = xyes; then + thread_file='rtems' + fi ;; i[34567]86-*-rtems*|i[34567]86-*-rtemself*) cpu_type=i386 tm_file=i386/rtemself.h extra_parts="crtbegin.o crtend.o crti.o crtn.o" tmake_file="i386/t-rtems-i386 i386/t-crtstuff t-rtems" + if test x$enable_threads = xyes; then + thread_file='rtems' + fi ;; i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5 xm_file="xm-alloca.h ${xm_file} i386/xm-sco5.h" @@ -1527,6 +1575,9 @@ i960-*-rtems) tmake_file="i960/t-960bare t-rtems" tm_file="${tm_file} dbxcoff.h i960/rtems.h" use_collect2=yes + if test x$enable_threads = xyes; then + thread_file='rtems' + fi ;; i960-*-*) # Default i960 environment. use_collect2=yes @@ -2004,12 +2055,18 @@ m68k-*-rtemscoff*) tm_file=m68k/rtems.h extra_headers=math-68881.h float_format=m68k + if test x$enable_threads = xyes; then + thread_file='rtems' + fi ;; m68k-*-rtemself*|m68k-*-rtems*) tmake_file="m68k/t-m68kbare t-rtems m68k/t-crtstuff" tm_file=m68k/rtemself.h extra_headers=math-68881.h float_format=m68k + if test x$enable_threads = xyes; then + thread_file='rtems' + fi ;; m88k-dg-dgux*) case $machine in @@ -2538,6 +2595,16 @@ mips64orion-*-elf*) mips64orion-*-rtems*) tm_file="mips/elforion.h mips/elf64.h mips/rtems64.h" tmake_file="mips/t-elf t-rtems" + if test x$enable_threads = xyes; then + thread_file='rtems' + fi + ;; +mips*-*-rtems*) + tm_file="mips/elf.h mips/rtems.h" + tmake_file="mips/t-elf t-rtems" + if test x$enable_threads = xyes; then + thread_file='rtems' + fi ;; mipstx39el-*-elf*) tm_file="mips/r3900.h mips/elfl.h mips/abi64.h" @@ -2693,6 +2760,9 @@ powerpc-*-rtems*) tm_file="rs6000/sysv4.h rs6000/eabi.h rs6000/rtems.h" tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm" extra_headers=ppc-asm.h + if test x$enable_threads = xyes; then + thread_file='rtems' + fi ;; powerpc-*-linux*libc1) tm_file="rs6000/sysv4.h rs6000/linux.h" @@ -2847,11 +2917,17 @@ sh-*-rtemself*) tmake_file="sh/t-sh sh/t-elf t-rtems" tm_file="sh/sh.h sh/elf.h sh/rtemself.h" float_format=sh + if test x$enable_threads = xyes; then + thread_file='rtems' + fi ;; sh-*-rtems*) tmake_file="sh/t-sh t-rtems" tm_file="sh/sh.h sh/rtems.h" float_format=sh + if test x$enable_threads = xyes; then + thread_file='rtems' + fi ;; sh-*-linux*) tm_file="sh/sh.h sh/elf.h sh/linux.h" @@ -2941,6 +3017,9 @@ sparc-*-lynxos*) sparc-*-rtemsaout*) tmake_file="sparc/t-sparcbare t-rtems" tm_file=sparc/rtems.h + if test x$enable_threads = xyes; then + thread_file='rtems' + fi ;; sparc-*-rtems*|sparc-*-rtemself*) tm_file="sparc/rtemself.h" @@ -2948,6 +3027,9 @@ sparc-*-rtems*|sparc-*-rtemself*) extra_parts="crti.o crtn.o crtbegin.o crtend.o" #float_format=i128 float_format=i64 + if test x$enable_threads = xyes; then + thread_file='rtems' + fi ;; sparcv9-*-solaris2*) if test x$gnu_ld = xyes |