summaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-05 17:41:56 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-05 17:41:56 +0000
commitc452411be99a3dd64572e605b7ce6f8ab3c7489d (patch)
treede53c0af57b416089c977887a63fcfd302a9ca6d /gcc/config.gcc
parent30da32a1db8fade012e59aef1144c2aab9ea9d21 (diff)
downloadgcc-c452411be99a3dd64572e605b7ce6f8ab3c7489d.tar.gz
2010-04-05 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 157965 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@157967 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc16
1 files changed, 14 insertions, 2 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index d4e733c29c5..022442c06e9 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1236,6 +1236,10 @@ i[34567]86-*-rtems*)
;;
i[34567]86-*-solaris2*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h sol2.h"
+ # Set default arch and tune to pentium4 like the other i386 targets,
+ # although config.guess defaults to i386-pc-solaris2*.
+ with_arch_32=${with_arch_32:-pentium4}
+ with_tune_32=${with_tune_32:-pentium4}
case ${target} in
*-*-solaris2.1[0-9]*)
tm_file="${tm_file} sol2-10.h"
@@ -1498,11 +1502,16 @@ iq2000*-*-elf*)
;;
lm32-*-elf*)
tm_file="dbxelf.h elfos.h ${tm_file}"
- tmake_file="${tmake_file} lm32/t-fprules-softfp soft-fp/t-softfp"
+ tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp"
;;
+lm32-*-rtems*)
+ tm_file="dbxelf.h elfos.h ${tm_file} lm32/rtems.h rtems.h"
+ tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp"
+ tmake_file="${tmake_file} t-rtems"
+ ;;
lm32-*-uclinux*)
tm_file="dbxelf.h elfos.h ${tm_file} linux.h lm32/uclinux-elf.h"
- tmake_file="${tmake_file} lm32/t-fprules-softfp soft-fp/t-softfp"
+ tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp"
;;
m32r-*-elf*)
tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}"
@@ -3402,6 +3411,9 @@ case ${target} in
i[34567]86-*-linux* | x86_64-*-linux* | i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu)
tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp i386/t-linux"
;;
+ i[34567]86-*-solaris2*)
+ tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp"
+ ;;
i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*)
tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp"
;;