aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Bruel <christian.bruel@st.com>2009-09-02 08:04:00 +0200
committerChristian Bruel <chrbr@gcc.gnu.org>2009-09-02 08:04:00 +0200
commitc68e4eede16081c2871cb1f5543b5c2eca74ffc1 (patch)
treef3975e1a6f0725cd602386346f59b31e4f3de104
parent94dcf84b029d3380aa813fcffb63e8f2f175c53c (diff)
downloadgcc-c68e4eede16081c2871cb1f5543b5c2eca74ffc1.zip
gcc-c68e4eede16081c2871cb1f5543b5c2eca74ffc1.tar.gz
gcc-c68e4eede16081c2871cb1f5543b5c2eca74ffc1.tar.bz2
replit sh*-superh-elf out of sh*-*-elf case
From-SVN: r151318
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config.gcc17
2 files changed, 13 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a949848..7e369e3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 426fe88..52a979a 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -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"