fix config scripts for sh
authorMike Frysinger <vapier@gentoo.org>
Sat, 13 Nov 2004 23:34:27 +0000 (23:34 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 13 Nov 2004 23:34:27 +0000 (23:34 -0000)
toolchain/gcc/3.4.0/100-uclibc-conf.patch
toolchain/gcc/3.4.1/100-uclibc-conf.patch
toolchain/gcc/3.4.2/100-uclibc-conf.patch

index 83cc9d21e9400ff4f0ed25ed898892e3e6251c74..ad03345bd116e3bad2b02052b39390e816c544b7 100644 (file)
@@ -361,14 +361,23 @@ diff -urN gcc-3.4.0-dist/gcc/config.gcc gcc-3.4.0/gcc/config.gcc
  powerpc-*-linux*)
        tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h"
        tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
+@@ -1916,7 +1945,7 @@
+       tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h"
+       ;;
+ sh-*-linux* | sh[2346lbe]*-*-linux*)
+-      tmake_file="sh/t-sh sh/t-elf t-slibgcc-elf-ver t-linux"
++      tmake_file="sh/t-sh sh/t-elf t-slibgcc-elf-ver"
+       case ${target} in
+       sh*be-*-* | sh*eb-*-*) ;;
+       *)
 @@ -1924,9 +1953,17 @@
                tmake_file="${tmake_file} sh/t-le"
                ;;
        esac
 -      tmake_file="${tmake_file} sh/t-linux"
 +      case ${target} in
-+      *-*-linux-uclibc*) tmake_file="${tmake_file} sh/t-linux-uclibc" ;;
-+      *) tmake_file="${tmake_file} sh/t-linux" ;;
++      *-*-linux-uclibc*) tmake_file="${tmake_file} t-linux-uclibc sh/t-linux-uclibc" ;;
++      *) tmake_file="${tmake_file} t-linux sh/t-linux" ;;
 +      esac
        tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/linux.h"
        case ${target} in
index c7752129cbe4c81ad345230b17e5aa1f7ab51913..28449e7c82810940f5c672037b4dd7c99ac729cf 100644 (file)
@@ -361,14 +361,23 @@ diff -urN gcc-3.4.1-dist/gcc/config.gcc gcc-3.4.1/gcc/config.gcc
  powerpc-*-linux*)
        tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h"
        tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
+@@ -1916,7 +1945,7 @@
+       tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h"
+       ;;
+ sh-*-linux* | sh[2346lbe]*-*-linux*)
+-      tmake_file="sh/t-sh sh/t-elf t-slibgcc-elf-ver t-linux"
++      tmake_file="sh/t-sh sh/t-elf t-slibgcc-elf-ver"
+       case ${target} in
+       sh*be-*-* | sh*eb-*-*) ;;
+       *)
 @@ -1924,9 +1953,17 @@
                tmake_file="${tmake_file} sh/t-le"
                ;;
        esac
 -      tmake_file="${tmake_file} sh/t-linux"
 +      case ${target} in
-+      *-*-linux-uclibc*) tmake_file="${tmake_file} sh/t-linux-uclibc" ;;
-+      *) tmake_file="${tmake_file} sh/t-linux" ;;
++      *-*-linux-uclibc*) tmake_file="${tmake_file} t-linux-uclibc sh/t-linux-uclibc" ;;
++      *) tmake_file="${tmake_file} t-linux sh/t-linux" ;;
 +      esac
        tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/linux.h"
        case ${target} in
index 10108103e6a9e771b6a31525c5dec5f0db6519f3..29e4c802e2e6f9b89eb7ed860f22188a68dc045c 100644 (file)
@@ -361,14 +361,23 @@ diff -urN gcc-3.4.1-dist/gcc/config.gcc gcc-3.4.1/gcc/config.gcc
  powerpc-*-linux*)
        tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h"
        tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
+@@ -1916,7 +1945,7 @@
+       tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h"
+       ;;
+ sh-*-linux* | sh[2346lbe]*-*-linux*)
+-      tmake_file="sh/t-sh sh/t-elf t-slibgcc-elf-ver t-linux"
++      tmake_file="sh/t-sh sh/t-elf t-slibgcc-elf-ver"
+       case ${target} in
+       sh*be-*-* | sh*eb-*-*) ;;
+       *)
 @@ -1924,9 +1953,17 @@
                tmake_file="${tmake_file} sh/t-le"
                ;;
        esac
 -      tmake_file="${tmake_file} sh/t-linux"
 +      case ${target} in
-+      *-*-linux-uclibc*) tmake_file="${tmake_file} sh/t-linux-uclibc" ;;
-+      *) tmake_file="${tmake_file} sh/t-linux" ;;
++      *-*-linux-uclibc*) tmake_file="${tmake_file} t-linux-uclibc sh/t-linux-uclibc" ;;
++      *) tmake_file="${tmake_file} t-linux sh/t-linux" ;;
 +      esac
        tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/linux.h"
        case ${target} in