OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix select setting a map expression.
[pf3gnuchains/gcc-fork.git]
/
libgcc
/
config.host
diff --git
a/libgcc/config.host
b/libgcc/config.host
index
1a66beb
..
e3c48bb
100644
(file)
--- a/
libgcc/config.host
+++ b/
libgcc/config.host
@@
-1,6
+1,6
@@
# libgcc host-specific configuration file.
# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
# libgcc host-specific configuration file.
# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-# 2008, 2009 Free Software Foundation, Inc.
+# 2008, 2009
, 2010
Free Software Foundation, Inc.
#This file is part of GCC.
#This file is part of GCC.
@@
-107,6
+107,9
@@
m68k-*-*)
;;
mep*-*-*)
;;
;;
mep*-*-*)
;;
+microblaze*-*-*)
+ cpu_type=microblaze
+ ;;
mips*-*-*)
cpu_type=mips
;;
mips*-*-*)
cpu_type=mips
;;
@@
-179,7
+182,7
@@
case ${host} in
then tmake_file=${cpu_type}/t-$rest
fi
;;
then tmake_file=${cpu_type}/t-$rest
fi
;;
-alpha*-*-linux*
| alpha*-*-gnu*
)
+alpha*-*-linux*)
tmake_file="${tmake_file} alpha/t-crtfm"
extra_parts="$extra_parts crtfastmath.o"
;;
tmake_file="${tmake_file} alpha/t-crtfm"
extra_parts="$extra_parts crtfastmath.o"
;;
@@
-189,7
+192,7
@@
alpha*-*-netbsd*)
;;
alpha*-*-openbsd*)
;;
;;
alpha*-*-openbsd*)
;;
-alpha*-dec-osf
[45]
*)
+alpha*-dec-osf
5.1
*)
;;
alpha64-dec-*vms*)
tmake_file="vms/t-vms vms/t-vms64 alpha/t-vms"
;;
alpha64-dec-*vms*)
tmake_file="vms/t-vms vms/t-vms64 alpha/t-vms"
@@
-197,16
+200,12
@@
alpha64-dec-*vms*)
alpha*-dec-*vms*)
tmake_file="vms/t-vms alpha/t-vms"
;;
alpha*-dec-*vms*)
tmake_file="vms/t-vms alpha/t-vms"
;;
-arc-*-elf*)
- ;;
arm-wrs-vxworks)
;;
arm*-*-freebsd*)
;;
arm*-*-netbsdelf*)
;;
arm-wrs-vxworks)
;;
arm*-*-freebsd*)
;;
arm*-*-netbsdelf*)
;;
-arm*-*-netbsd*)
- ;;
arm*-*-linux*) # ARM GNU/Linux with ELF
;;
arm*-*-uclinux*) # ARM ucLinux
arm*-*-linux*) # ARM GNU/Linux with ELF
;;
arm*-*-uclinux*) # ARM ucLinux
@@
-221,8
+220,6
@@
arm*-*-elf)
;;
arm*-wince-pe*)
;;
;;
arm*-wince-pe*)
;;
-arm-*-pe*)
- ;;
avr-*-rtems*)
;;
avr-*-*)
avr-*-rtems*)
;;
avr-*-*)
@@
-245,8
+242,6
@@
crisv32-*-elf | crisv32-*-none | cris-*-elf | cris-*-none)
;;
cris-*-linux* | crisv32-*-linux*)
;;
;;
cris-*-linux* | crisv32-*-linux*)
;;
-crx-*-elf)
- ;;
fido-*-elf)
;;
fr30-*-elf)
fido-*-elf)
;;
fr30-*-elf)
@@
-279,13
+274,13
@@
i[34567]86-*-elf*)
x86_64-*-elf*)
;;
i[34567]86-*-freebsd*)
x86_64-*-elf*)
;;
i[34567]86-*-freebsd*)
+ tmake_file="${tmake_file} i386/t-freebsd"
;;
x86_64-*-freebsd*)
;;
x86_64-*-freebsd*)
+ tmake_file="${tmake_file} i386/t-freebsd"
;;
i[34567]86-*-netbsdelf*)
;;
;;
i[34567]86-*-netbsdelf*)
;;
-i[34567]86-*-netbsd*)
- ;;
x86_64-*-netbsd*)
;;
i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
x86_64-*-netbsd*)
;;
i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
@@
-330,8
+325,6
@@
i[34567]86-*-solaris2*)
;;
i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
;;
;;
i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
;;
-i[34567]86-*-pe)
- ;;
i[34567]86-*-cygwin* | i[34567]86-*-mingw*)
extra_parts="crtbegin.o crtend.o crtfastmath.o"
tmake_file="i386/t-cygming i386/t-crtfm"
i[34567]86-*-cygwin* | i[34567]86-*-mingw*)
extra_parts="crtbegin.o crtend.o crtfastmath.o"
tmake_file="i386/t-cygming i386/t-crtfm"
@@
-345,6
+338,8
@@
ia64*-*-elf*)
tmake_file="ia64/t-ia64"
;;
ia64*-*-freebsd*)
tmake_file="ia64/t-ia64"
;;
ia64*-*-freebsd*)
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
+ tmake_file="ia64/t-ia64"
;;
ia64*-*-linux*)
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
;;
ia64*-*-linux*)
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
@@
-357,7
+352,7
@@
ia64-hp-*vms*)
;;
iq2000*-*-elf*)
;;
;;
iq2000*-*-elf*)
;;
-lm32-*-elf*)
+lm32-*-elf*
|lm32-*-rtems*
)
extra_parts="crtbegin.o crtend.o crti.o crtn.o"
tmake_file="lm32/t-lm32 lm32/t-elf t-softfp"
;;
extra_parts="crtbegin.o crtend.o crti.o crtn.o"
tmake_file="lm32/t-lm32 lm32/t-elf t-softfp"
;;
@@
-373,10
+368,6
@@
m32r-*-linux*)
;;
m32rle-*-linux*)
;;
;;
m32rle-*-linux*)
;;
-m68hc11-*-*|m6811-*-*)
- ;;
-m68hc12-*-*|m6812-*-*)
- ;;
m68k-*-elf*)
;;
m68k*-*-netbsdelf*)
m68k-*-elf*)
;;
m68k*-*-netbsdelf*)
@@
-393,15
+384,20
@@
m68k-*-rtems*)
;;
mcore-*-elf)
;;
;;
mcore-*-elf)
;;
-mcore-*-pe*)
+microblaze*-*-*)
+ tmake_file="microblaze/t-microblaze"
;;
mips-sgi-irix[56]*)
;;
mips*-*-netbsd*) # NetBSD/mips, either endian.
;;
mips64*-*-linux*)
;;
mips-sgi-irix[56]*)
;;
mips*-*-netbsd*) # NetBSD/mips, either endian.
;;
mips64*-*-linux*)
+ extra_parts="$extra_parts crtfastmath.o"
+ tmake_file="{$tmake_file} mips/t-crtfm"
;;
mips*-*-linux*) # Linux MIPS, either endian.
;;
mips*-*-linux*) # Linux MIPS, either endian.
+ extra_parts="$extra_parts crtfastmath.o"
+ tmake_file="{$tmake_file} mips/t-crtfm"
;;
mips*-*-openbsd*)
;;
;;
mips*-*-openbsd*)
;;
@@
-432,11
+428,13
@@
mips-wrs-vxworks)
mipstx39-*-elf* | mipstx39el-*-elf*)
;;
mmix-knuth-mmixware)
mipstx39-*-elf* | mipstx39el-*-elf*)
;;
mmix-knuth-mmixware)
+ extra_parts="crti.o crtn.o crtbegin.o crtend.o"
+ tmake_file="${tmake_file} ${cpu_type}/t-${cpu_type}"
;;
mn10300-*-*)
;;
moxie-*-*)
;;
mn10300-*-*)
;;
moxie-*-*)
- tmake_file=
${cpu_type}/t-moxie
+ tmake_file=
"moxie/t-moxie moxie/t-moxie-softfp"
extra_parts="crtbegin.o crtend.o crti.o crtn.o"
;;
pdp11-*-*)
extra_parts="crtbegin.o crtend.o crti.o crtn.o"
;;
pdp11-*-*)
@@
-447,11
+445,13
@@
powerpc-*-darwin*)
;;
powerpc64-*-darwin*)
;;
;;
powerpc64-*-darwin*)
;;
-powerpc*-*-freebsd*)
+powerpc-*-freebsd*)
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-freebsd t-softfp"
;;
powerpc-*-netbsd*)
;;
powerpc-*-eabispe*)
;;
powerpc-*-netbsd*)
;;
powerpc-*-eabispe*)
+ tmake_file="${tmake_file} rs6000/t-ppccomm"
;;
powerpc-*-eabisimaltivec*)
;;
;;
powerpc-*-eabisimaltivec*)
;;
@@
-462,21
+462,13
@@
powerpc-*-elf*)
powerpc-*-eabialtivec*)
;;
powerpc-*-eabi*)
powerpc-*-eabialtivec*)
;;
powerpc-*-eabi*)
+ tmake_file="${tmake_file} rs6000/t-ppccomm"
;;
powerpc-*-rtems*)
;;
powerpc-*-linux* | powerpc64-*-linux*)
tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"
;;
;;
powerpc-*-rtems*)
;;
powerpc-*-linux* | powerpc64-*-linux*)
tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"
;;
-powerpc64-*-gnu*)
- tmake_file="${tmake_file} rs6000/t-ldbl128 t-softfp"
- ;;
-powerpc-*-gnu-gnualtivec*)
- tmake_file="${tmake_file} rs6000/t-ldbl128"
- ;;
-powerpc-*-gnu*)
- tmake_file="${tmake_file} rs6000/t-ldbl128"
- ;;
powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
;;
powerpc-*-lynxos*)
powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
;;
powerpc-*-lynxos*)
@@
-509,7
+501,6
@@
s390x-ibm-tpf*)
score-*-elf)
;;
sh-*-elf* | sh[12346l]*-*-elf* | \
score-*-elf)
;;
sh-*-elf* | sh[12346l]*-*-elf* | \
-sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
sh-*-linux* | sh[2346lbe]*-*-linux* | \
sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
sh64-*-netbsd* | sh64l*-*-netbsd*)
sh-*-linux* | sh[2346lbe]*-*-linux* | \
sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
sh64-*-netbsd* | sh64l*-*-netbsd*)
@@
-533,7
+524,7
@@
sparc-*-linux*) # SPARC's running GNU/Linux, libc6
extra_parts="$extra_parts crtfastmath.o"
tmake_file="${tmake_file} sparc/t-crtfm"
;;
extra_parts="$extra_parts crtfastmath.o"
tmake_file="${tmake_file} sparc/t-crtfm"
;;
-sparc-*-rtems*)
+sparc-*-rtems*
| sparc64-*-rtems*
)
;;
sparc64-*-solaris2* | sparcv9-*-solaris2*)
;;
;;
sparc64-*-solaris2* | sparcv9-*-solaris2*)
;;
@@
-563,8
+554,6
@@
vax-*-linux*)
;;
vax-*-netbsdelf*)
;;
;;
vax-*-netbsdelf*)
;;
-vax-*-netbsd*)
- ;;
vax-*-openbsd*)
;;
xstormy16-*-elf)
vax-*-openbsd*)
;;
xstormy16-*-elf)
@@
-591,6
+580,9
@@
i[34567]86-*-linux* | x86_64-*-linux* | \
i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | \
i[34567]86-*-gnu*)
tmake_file="${tmake_file} t-tls"
i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | \
i[34567]86-*-gnu*)
tmake_file="${tmake_file} t-tls"
+ if test "$libgcc_cv_cfi" = "yes"; then
+ tmake_file="${tmake_file} t-stack i386/t-stack-i386"
+ fi
;;
esac
;;
esac
@@
-598,7
+590,10
@@
case ${host} in
i[34567]86-*-darwin* | x86_64-*-darwin* | \
i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
i[34567]86-*-linux* | x86_64-*-linux* | \
i[34567]86-*-darwin* | x86_64-*-darwin* | \
i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
i[34567]86-*-linux* | x86_64-*-linux* | \
- i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*)
+ i[34567]86-*-gnu* | \
+ i[34567]86-*-solaris2* | \
+ i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw* | \
+ i[34567]86-*-freebsd* | x86_64-*-freebsd*)
if test "${host_address}" = 32; then
tmake_file="${tmake_file} t-softfp i386/${host_address}/t-fprules-softfp"
fi
if test "${host_address}" = 32; then
tmake_file="${tmake_file} t-softfp i386/${host_address}/t-fprules-softfp"
fi