OSDN Git Service

enable SH libgloss build
authorchrbr <chrbr@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Jul 2009 12:51:10 +0000 (12:51 +0000)
committerchrbr <chrbr@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Jul 2009 12:51:10 +0000 (12:51 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150314 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
configure
configure.ac
gcc/ChangeLog
gcc/config.gcc

index 50a2ec5..daac975 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-31  Christian Bruel  <christian.bruel@st.com>
+
+       * configure.ac (sh*-*-elf): Don't add target-libgloss to noconfigdirs.
+       * configure: Regenerate.
+       
 2009-07-28  Rask Ingemann Lambertsen <ccc94453@vip.cybercity.dk>
 
        * MAINTAINERS (Write After Approval): Update my e-mail address.
index 8ba3c9c..7bebf1e 100755 (executable)
--- a/configure
+++ b/configure
@@ -2650,7 +2650,12 @@ case "${target}" in
       i[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
       *) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
     esac
-    noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
+    case "${target}" in
+      sh*-*-elf)
+         noconfigdirs="$noconfigdirs ${libgcj}" ;;
+      *)
+         noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" ;;
+    esac
     ;;
   sparclet-*-aout* | sparc86x-*-*)
     libgloss_dir=sparc
index 22cd976..30721eb 100644 (file)
@@ -874,7 +874,12 @@ case "${target}" in
       i[[3456789]]86-*-msdosdjgpp*) ;; # don't add gprof back in
       *) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
     esac
-    noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
+    case "${target}" in
+      sh*-*-elf)
+         noconfigdirs="$noconfigdirs ${libgcj}" ;;
+      *)
+         noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" ;;
+    esac
     ;;
   sparclet-*-aout* | sparc86x-*-*)
     libgloss_dir=sparc
index 7e55aae..309bc29 100644 (file)
@@ -1,3 +1,7 @@
+2009-07-31  Christian Bruel  <christian.bruel@st.com>  
+
+       * gcc/config.gcc (sh*-*-elf): test with_libgloss.
+       
 2009-07-31  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
 
        * config/arm/arm.c (arm_arm_address_cost): Fix typo. 
index ea24e16..3d68b71 100644 (file)
@@ -2096,7 +2096,7 @@ 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*-superh-elf) if test x$with_libgloss != xno; then
+       sh*-*-elf)      if test x$with_libgloss != xno; then
                                with_libgloss=yes
                                tm_file="${tm_file} sh/newlib.h"
                        fi