replit sh*-superh-elf out of sh*-*-elf case
authorChristian Bruel <christian.bruel@st.com>
Wed, 2 Sep 2009 06:04:00 +0000 (08:04 +0200)
committerChristian Bruel <chrbr@gcc.gnu.org>
Wed, 2 Sep 2009 06:04:00 +0000 (08:04 +0200)
From-SVN: r151318

gcc/ChangeLog
gcc/config.gcc

index a949848baf8a8e31b5c19217fca327460a918955..7e369e31b10442b4f277a764a894828e3440e276 100644 (file)
@@ -1,3 +1,9 @@
+2009-08-01  Christian Bruel  <christian.bruel@st.com>
+
+       Revert:
+       2009-07-31  Christian Bruel  <christian.bruel@st.com>
+       * gcc/config.gcc (sh*-*-elf): test with_libgloss.
+       
 2009-09-01  Alexandre Oliva  <aoliva@redhat.com>
 
        * doc/invoke.texi (-fvar-tracking-assignments): New.
index 426fe8899febe60574a340411eae1c178e29ae7a..52a979af60a0f6581820a3b10217ce5e3cef8f2b 100644 (file)
@@ -2117,17 +2117,14 @@ sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
        sh*-*-linux*)   tmake_file="${tmake_file} sh/t-linux"
                        tm_file="${tm_file} linux.h glibc-stdint.h sh/linux.h" ;;
        sh*-*-netbsd*)  tm_file="${tm_file} netbsd.h netbsd-elf.h sh/netbsd-elf.h" ;;
-       sh*-*-elf)      if test x$with_libgloss != xno; then
-                               with_libgloss=yes
-                               tm_file="${tm_file} sh/newlib.h"
-                       fi
+       sh*-superh-elf) if test x$with_libgloss != xno; then
+                                with_libgloss=yes
+                                tm_file="${tm_file} sh/newlib.h"
+                        fi
                        tm_file="${tm_file} sh/embed-elf.h"
-                       case ${target} in
-                       sh*-superh-elf) tm_file="${tm_file} sh/superh.h"
-                                       tmake_file="${tmake_file} sh/t-superh"
-                                       extra_options="${extra_options} sh/superh.opt" ;;
-                       esac
-                       ;;
+                       tm_file="${tm_file} sh/superh.h"
+                       tmake_file="${tmake_file} sh/t-superh"
+                       extra_options="${extra_options} sh/superh.opt" ;;
        *)              if test x$with_newlib = xyes \
                           && test x$with_libgloss = xyes; then
                                tm_file="${tm_file} sh/newlib.h"