aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Bruel <christian.bruel@st.com>2009-07-31 12:51:10 +0000
committerChristian Bruel <christian.bruel@st.com>2009-07-31 12:51:10 +0000
commit30773b7be9636dcfaa49d1a352b529a919ff0b85 (patch)
tree8c63abd422e64a6e3efe5946d599d2e35b688efd
parentf4f06e6999dda8865fc81ad1daea514c704151cd (diff)
enable SH libgloss build
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@150314 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure7
-rw-r--r--configure.ac7
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config.gcc2
5 files changed, 22 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 50a2ec58942..daac975f804 100644
--- 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.
diff --git a/configure b/configure
index 8ba3c9cfe83..7bebf1e591d 100755
--- 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
diff --git a/configure.ac b/configure.ac
index 22cd976bbbd..30721eb9883 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7e55aaea7ee..309bc29a83c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index ea24e1670c6..3d68b710d1b 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -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