OSDN Git Service

* config.gcc (sh*-*-elf): Add superh stuff only for sh*-superh-elf.
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Aug 2009 23:50:31 +0000 (23:50 +0000)
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Aug 2009 23:50:31 +0000 (23:50 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151213 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc

index c2f7d4d..377b644 100644 (file)
@@ -1,3 +1,7 @@
+2009-08-29  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config.gcc (sh*-*-elf): Add superh stuff only for sh*-superh-elf.
+
 2009-08-29  Kai Tietz<kai.tietz@onevision.com>
 
         PR/41184
index c8eb88e..426fe88 100644 (file)
@@ -2121,9 +2121,13 @@ sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
                                with_libgloss=yes
                                tm_file="${tm_file} sh/newlib.h"
                        fi
-                       tm_file="${tm_file} sh/embed-elf.h sh/superh.h"
-                       tmake_file="${tmake_file} sh/t-superh"
-                       extra_options="${extra_options} sh/superh.opt" ;;
+                       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
+                       ;;
        *)              if test x$with_newlib = xyes \
                           && test x$with_libgloss = xyes; then
                                tm_file="${tm_file} sh/newlib.h"