arc: Refurbish adc/sbc patterns
[gcc.git] / libgcc / config.host
index 7a3e29d0c71cdb5d185e149d2ae44323ec5beed2..66af8343a28663d43a5b67efe7b31811197c9a67 100644 (file)
@@ -393,6 +393,7 @@ aarch64*-*-vxworks7*)
        extra_parts="$extra_parts crtfastmath.o"
        md_unwind_header=aarch64/aarch64-unwind.h
        tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
+       tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
        tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
        ;;
 alpha*-*-linux*)
@@ -579,7 +580,7 @@ cris-*-elf)
        ;;
 csky-*-elf*)
        tmake_file="csky/t-csky t-fdpbit"
-       extra_parts="$extra_parts crti.o crtn.o"
+       extra_parts="crtbegin.o crtend.o crti.o crtn.o"
        ;;
 csky-*-linux*)
        tmake_file="$tmake_file csky/t-csky t-slibgcc-libgcc t-fdpbit csky/t-linux-csky"
@@ -774,7 +775,7 @@ i[34567]86-*-solaris2* | x86_64-*-solaris2*)
        tm_file="${tm_file} i386/elf-lib.h"
        md_unwind_header=i386/sol2-unwind.h
        ;;
-i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae|i[4567]86-wrs-vxworks7|x86_64-wrs-vxworks7)
+i[4567]86-wrs-vxworks*|x86_64-wrs-vxworks*)
        ;;
 i[34567]86-*-cygwin*)
        extra_parts="crtbegin.o crtbeginS.o crtend.o crtfastmath.o"
@@ -1226,6 +1227,23 @@ powerpc*-*-linux*)
        extra_parts="$extra_parts ecrti.o ecrtn.o ncrti.o ncrtn.o"
        md_unwind_header=rs6000/linux-unwind.h
        ;;
+powerpc*-wrs-vxworks7*)
+        tmake_file="$tmake_file rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-linux t-dfprules config/rs6000/t-ppc64-fp t-slibgcc-libgcc"
+        case $ppc_fp_type in
+        64)
+                ;;
+        hard)
+                tmake_file="${tmake_file} t-hardfp-sfdf"
+                ;;
+        soft)
+                tmake_file="${tmake_file} t-softfp-sfdf t-softfp"
+                ;;
+        *)
+                echo "Unknown ppc_fp_type $ppc_fp_type" 1>&2
+                exit 1
+                ;;
+        esac
+        ;;
 powerpc-wrs-vxworks*)
        tmake_file="$tmake_file rs6000/t-ppccomm rs6000/t-savresfgpr t-fdpbit"
        extra_parts="$extra_parts crtbegin.o crtend.o"