OSDN Git Service

Add newlib-stdint.h to moxie-eld config.
[pf3gnuchains/gcc-fork.git] / gcc / config.gcc
index 1d7c8d3..bd0ad56 100644 (file)
@@ -237,6 +237,7 @@ case ${target} in
  | alpha*-*-gnu*                       \
  | arm*-*-netbsd*                      \
  | arm-*-pe*                           \
+ | crx-*                               \
  | i[34567]86-*-interix3*              \
  | i[34567]86-*-netbsd*                        \
  | i[34567]86-*-pe                     \
@@ -247,6 +248,7 @@ case ${target} in
  | m68k-*-uclinuxoldabi*               \
  | mcore-*-pe*                         \
  | powerpc*-*-gnu*                     \
+ | score-*                             \
  | sh*-*-symbianelf*                   \
  | vax-*-netbsd*                       \
  )
@@ -1006,7 +1008,7 @@ frv-*-*linux*)
 moxie-*-elf)
        gas=yes
        gnu_ld=yes
-       tm_file="dbxelf.h elfos.h ${tm_file}"
+       tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}"
        extra_parts="crti.o crtn.o crtbegin.o crtend.o"
        tmake_file="${tmake_file} moxie/t-moxie moxie/t-moxie-softfp soft-fp/t-softfp"
        ;;
@@ -1298,7 +1300,7 @@ x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
        ;;
 i[34567]86-pc-msdosdjgpp*)
        xm_file=i386/xm-djgpp.h
-       tm_file="dbxcoff.h ${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/djgpp.h"
+       tm_file="dbxcoff.h ${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/djgpp.h i386/djgpp-stdint.h"
        tmake_file="${tmake_file} i386/t-djgpp"
        extra_options="${extra_options} i386/djgpp.opt"
        gnu_ld=yes
@@ -2795,6 +2797,16 @@ cpu=
 arch_without_sse2=no
 arch_without_64bit=no
 case ${target} in
+  i386-*-freebsd*)
+    if test $fbsd_major -ge 6; then
+      arch=i486
+    else
+      arch=i386
+    fi
+    cpu=generic
+    arch_without_sse2=yes
+    arch_without_64bit=yes
+    ;;
   i386-*-*)
     arch=i386
     cpu=i386